__init__(self,
opcode,
mnem,
opers,
cond=COND_AL,
iflags=0)
(Constructor)
| source code
|
constructor for the basic Envi Opcode object. Arguments as follows:
opcode - An architecture specific numerical value for the opcode
mnem - A humon readable mnemonic for the opcode
prefixes - a bitmask of architecture specific instruction prefixes
size - The size of the opcode in bytes
operands - A list of Operand objects for this opcode
iflags - A list of Envi (architecture independant) instruction flags (see IF_FOO)
va - The virtual address the instruction lives at (used for PC relative immediates etc...)
NOTE: If you want to create an architecture spcific opcode, I'd *highly* recommend you
just copy/paste in the following simple initial code rather than calling the parent
constructor. The extra
- Overrides:
Opcode.__init__
- (inherited documentation)
|