microprobe.target.isa.operand.OperandImmRange¶
-
class
OperandImmRange(name, descr, minvalue, maxvalue, step, aim, shift, novalues, add)[source]¶ Bases:
microprobe.target.isa.operand.OperandClass to represent a immediate range operand.
-
__init__(name, descr, minvalue, maxvalue, step, aim, shift, novalues, add)[source]¶ Parameters: - name –
- descr –
- minvalue –
- maxvalue –
- step –
- aim –
- shift –
- novalues –
- add –
Methods
__init__(name, descr, minvalue, maxvalue, …)param name: access(dummy)param dummy: check(value)param value: codification(value)param value: copy()random_value()Return a random possible value for the operand. representation(value)param value: set_valid_values(values)param values: values()Return the possible value of the operand. Attributes
addaddress_absoluteOperand is for generating absolute addresses ( bool).address_baseOperand is the base register for an address ( bool).address_immediateOperand is an immediate of an address ( bool).address_indexOperand is the index register for an address ( bool).address_relativeOperand is for generating relative addresses ( bool).constantOperand is constant ( bool).descriptionOperand description ( str).floatOperand is float ( bool).immediateOperand is immediate ( bool).maxminnameOperand name ( str).shiftstepvectorOperand is vector ( bool).
-
max¶
-
min¶
-
step¶
-
shift¶
-
add¶
-