Class InstructionSWEET16
- java.lang.Object
-
- io.github.applecommander.disassembler.api.sweet16.InstructionSWEET16
-
- All Implemented Interfaces:
Instruction
public class InstructionSWEET16 extends java.lang.Object implements Instruction
-
-
Method Summary
All Methods Instance Methods Concrete 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
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
public java.util.Optional<java.lang.String> getAddressLabel()
- Specified by:
getAddressLabel
in interfaceInstruction
-
setAddressLabel
public void setAddressLabel(java.lang.String label)
- Specified by:
setAddressLabel
in interfaceInstruction
-
getOpcodeMnemonic
public java.lang.String 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
public void setOperandLabel(java.lang.String label)
- Specified by:
setOperandLabel
in interfaceInstruction
-
formatOperandWithValue
public java.lang.String formatOperandWithValue()
- Specified by:
formatOperandWithValue
in interfaceInstruction
-
formatOperandWithLabel
public java.lang.String formatOperandWithLabel()
- Specified by:
formatOperandWithLabel
in interfaceInstruction
-
-