microprobe.target.isa.instruction.InstructionType¶
-
class
InstructionType[source]¶ Bases:
microprobe.property.PropertyHolderAbstract class to represent a machine instruction type.
Methods
__init__()assembly(args[, dissabled_fields])Returns the assembly representation of this instruction when when invoked with args listofOperand.binary(args[, asm_args])Return the binary representation of this register when when invoked with args listofOperand.full_report([tabs])Return the string representation of this instruction. list_properties([tabs])register_property(prop[, force])param prop: sets(*args)Returns a listofRegisterinstances set by thisInstructionTypewhen invoked with argslistofOperand.unregister_property(prop)param prop: uses(args)Returns a listofRegisterinstances used by thisInstructionTypewhen invoked with argslistofOperand.Attributes
descriptionformatimplicit_operandsinstruction_checksmemory_operand_descriptorsmnemonicnameopcodeoperand_descriptorsoperandspropertiestarget_checks
-
name¶
-
description¶
-
mnemonic¶
-
opcode¶
-
format¶
-
operands¶
-
memory_operand_descriptors¶
-
operand_descriptors¶
-
implicit_operands¶
-
target_checks¶
-
instruction_checks¶
-
sets(*args)[source]¶ Returns a
listofRegisterinstances set by thisInstructionTypewhen invoked with argslistofOperand.Parameters: args ( listofOperandinstances) – Input operands.
-
uses(args)[source]¶ Returns a
listofRegisterinstances used by thisInstructionTypewhen invoked with argslistofOperand.Parameters: - args (
listofOperandinstances) – Input operands. - args –
- args (
-
assembly(args, dissabled_fields=None)[source]¶ Returns the assembly representation of this instruction when when invoked with args
listofOperand.Parameters: args – Input operands.
-
binary(args, asm_args=None)[source]¶ Return the binary representation of this register when when invoked with args
listofOperand.Parameters: args – Input operands.
-
list_properties(tabs=0)¶
-
properties¶
-
register_property(prop, force=False)¶ Parameters: prop –
-
unregister_property(prop)¶ Parameters: prop –
-