public static enum AMD64Assembler.OperandSize extends Enum<AMD64Assembler.OperandSize>
Enum Constant and Description |
---|
BYTE |
DWORD |
PD |
PS |
QWORD |
SD |
SS |
WORD |
Modifier and Type | Field and Description |
---|---|
private int |
bytes |
private int |
sizePrefix |
private boolean |
xmm |
Modifier and Type | Method and Description |
---|---|
protected void |
emitImmediate(AMD64Assembler asm,
int imm)
Emit an immediate of this size.
|
int |
getBytes() |
boolean |
isXmmType() |
static AMD64Assembler.OperandSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMD64Assembler.OperandSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMD64Assembler.OperandSize BYTE
public static final AMD64Assembler.OperandSize WORD
public static final AMD64Assembler.OperandSize DWORD
public static final AMD64Assembler.OperandSize QWORD
public static final AMD64Assembler.OperandSize SS
public static final AMD64Assembler.OperandSize SD
public static final AMD64Assembler.OperandSize PS
public static final AMD64Assembler.OperandSize PD
private final int sizePrefix
private final int bytes
private final boolean xmm
public static AMD64Assembler.OperandSize[] values()
for (AMD64Assembler.OperandSize c : AMD64Assembler.OperandSize.values()) System.out.println(c);
public static AMD64Assembler.OperandSize valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getBytes()
public boolean isXmmType()
protected void emitImmediate(AMD64Assembler asm, int imm)
QWORD
operands are encoded
as sign-extended 32-bit values.asm
- imm
-