Mercurial > lcfOS
annotate python/ppci/core/instruction.py @ 99:6efbeb903777
movage
author | windel |
---|---|
date | Mon, 24 Dec 2012 15:03:30 +0100 |
parents | 4a37d6992bd3 |
children | ed230e947dc6 |
rev | line source |
---|---|
99 | 1 |
71 | 2 from .value import Value |
70 | 3 |
4 class Instruction(Value): | |
99 | 5 """ |
6 Base class for all instructions. | |
7 """ | |
70 | 8 pass |
9 | |
10 class CallInstruction(Instruction): | |
11 pass | |
12 | |
13 class BinaryOperator(Instruction): | |
14 pass | |
15 | |
16 class LoadInstruction(Instruction): | |
17 def __init__(self, ptr, name, insertBefore): | |
18 self.setName(name) | |
19 |