Mercurial > lcfOS
view python/ppci/core/instruction.py @ 99:6efbeb903777
movage
author | windel |
---|---|
date | Mon, 24 Dec 2012 15:03:30 +0100 |
parents | 4a37d6992bd3 |
children | ed230e947dc6 |
line wrap: on
line source
from .value import Value class Instruction(Value): """ Base class for all instructions. """ pass class CallInstruction(Instruction): pass class BinaryOperator(Instruction): pass class LoadInstruction(Instruction): def __init__(self, ptr, name, insertBefore): self.setName(name)