Interface DecodedInstruction
public interface DecodedInstruction
Immutable facts about one successfully decoded instruction.
Accessors describe captured input and never read live memory.
-
Method Summary
Modifier and TypeMethodDescriptionintaddress()Logical instruction start, in the CPU's address units.encoding()Captured encoding as display text, including non-byte representations.intlength()Positive number of occupied addressable cells, not necessarily bytes.mnemonic()Rendered mnemonic and operands from the captured instruction.static DecodedInstructionCaptures immutable instruction facts without reading or retaining machine state.
-
Method Details
-
address
int address()Logical instruction start, in the CPU's address units. -
length
int length()Positive number of occupied addressable cells, not necessarily bytes. -
mnemonic
String mnemonic()Rendered mnemonic and operands from the captured instruction. -
encoding
String encoding()Captured encoding as display text, including non-byte representations. -
of
Captures immutable instruction facts without reading or retaining machine state.
-