Top Fields Constructors Methods
jnr.a64asm

public Class Operand

extends Object
Class Inheritance
Known Direct Subclasses
jnr.a64asm.Post_index, jnr.a64asm.PrefOp, jnr.a64asm.Pre_index, jnr.a64asm.PRFOP_ENUM, jnr.a64asm.Shift, jnr.a64asm.SysRegister, jnr.a64asm.BaseReg, jnr.a64asm.Conditions, jnr.a64asm.Ext, jnr.a64asm.Immediate, jnr.a64asm.Label, jnr.a64asm.Mem, jnr.a64asm.Offset
Static Imports
jnr.a64asm.OP.*

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
public
Operand(int op, int size)

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
isExtend()

Return @c true if operand is label (@c OP_LABEL).

public boolean
isImm()

Return @c true if operand is immediate (@c OP_IMM).

public boolean
isLabel()

Return @c true if operand is label (@c OP_LABEL).

public boolean
isMem()

Return @c true if operand is memory address (@c OP_MEM).

public boolean
isNone()

Return @c true if operand is none (@c OP_NONE).

public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
isReg()

Return @c true if operand is any (general purpose, mmx or sse) register (@c OP_REG).

public final boolean
isRegCode(int code)

public final boolean
isRegIndex(int index)

public final boolean
isRegMem()

Return @c true if operand is any register or memory.

public final boolean
isRegMem(int regType)

£brief Return @c true if operand is register of @a regType type or memory.

public final boolean
isRegType(int type)

public int
op()

Return type of operand, see @c OP.

public int
size()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

opback to summary
private final int op
sizeback to summary
private final int size

Constructor Detail

Operandback to summary
public Operand(int op, int size)

Method Detail

isCondback to summary
public boolean isCond()
isExtendback to summary
public boolean isExtend()

Return @c true if operand is label (@c OP_LABEL).

isImmback to summary
public boolean isImm()

Return @c true if operand is immediate (@c OP_IMM).

isLabelback to summary
public boolean isLabel()

Return @c true if operand is label (@c OP_LABEL).

isMemback to summary
public boolean isMem()

Return @c true if operand is memory address (@c OP_MEM).

isNoneback to summary
public boolean isNone()

Return @c true if operand is none (@c OP_NONE).

isOffsetback to summary
public boolean isOffset()
isPostIndexback to summary
public boolean isPostIndex()
isPrefOpback to summary
public boolean isPrefOp()
isPreIndexback to summary
public boolean isPreIndex()
isPrfopback to summary
public boolean isPrfop()
isRegback to summary
public boolean isReg()

Return @c true if operand is any (general purpose, mmx or sse) register (@c OP_REG).

isRegCodeback to summary
public final boolean isRegCode(int code)
isRegIndexback to summary
public final boolean isRegIndex(int index)
isRegMemback to summary
public final boolean isRegMem()

Return @c true if operand is any register or memory.

isRegMemback to summary
public final boolean isRegMem(int regType)

£brief Return @c true if operand is register of @a regType type or memory.

isRegTypeback to summary
public final boolean isRegType(int type)
opback to summary
public int op()

Return type of operand, see @c OP.

sizeback to summary
public int size()