Class Instruction6502
java.lang.Object
io.github.applecommander.disassembler.api.mos6502.Instruction6502
- All Implemented Interfaces:
Instruction
-
Method Summary
Modifier and TypeMethodDescriptionint
byte[]
getBytes()
int
int
boolean
void
setAddressLabel
(String label) void
setOperandLabel
(String label)
-
Method Details
-
getAddress
public int getAddress()- Specified by:
getAddress
in interfaceInstruction
-
getLength
public int getLength()- Specified by:
getLength
in interfaceInstruction
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceInstruction
-
getAddressLabel
- Specified by:
getAddressLabel
in interfaceInstruction
-
setAddressLabel
- Specified by:
setAddressLabel
in interfaceInstruction
-
getOpcodeMnemonic
- Specified by:
getOpcodeMnemonic
in interfaceInstruction
-
operandHasAddress
public boolean operandHasAddress()- Specified by:
operandHasAddress
in interfaceInstruction
-
getOperandValue
public int getOperandValue()- Specified by:
getOperandValue
in interfaceInstruction
-
setOperandLabel
- Specified by:
setOperandLabel
in interfaceInstruction
-
formatOperandWithValue
- Specified by:
formatOperandWithValue
in interfaceInstruction
-
formatOperandWithLabel
- Specified by:
formatOperandWithLabel
in interfaceInstruction
-