Interface Instruction
-
- All Known Implementing Classes:
Instruction6502
,InstructionSet6502Switching.Directive
,InstructionSWEET16
,SkippedInstruction
public interface Instruction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
formatOperandWithLabel()
java.lang.String
formatOperandWithValue()
int
getAddress()
java.util.Optional<java.lang.String>
getAddressLabel()
byte[]
getBytes()
int
getLength()
java.lang.String
getOpcodeMnemonic()
int
getOperandValue()
boolean
operandHasAddress()
void
setAddressLabel(java.lang.String label)
void
setOperandLabel(java.lang.String label)
-
-
-
Method Detail
-
getAddress
int getAddress()
-
getLength
int getLength()
-
getBytes
byte[] getBytes()
-
getAddressLabel
java.util.Optional<java.lang.String> getAddressLabel()
-
setAddressLabel
void setAddressLabel(java.lang.String label)
-
getOpcodeMnemonic
java.lang.String getOpcodeMnemonic()
-
operandHasAddress
boolean operandHasAddress()
-
getOperandValue
int getOperandValue()
-
setOperandLabel
void setOperandLabel(java.lang.String label)
-
formatOperandWithValue
java.lang.String formatOperandWithValue()
-
formatOperandWithLabel
java.lang.String formatOperandWithLabel()
-
-