public static enum AMD64BaseAssembler.OperandSize extends Enum<AMD64BaseAssembler.OperandSize>
| Enum Constant and Description |
|---|
BYTE |
DWORD |
PD |
PS |
QWORD |
SD |
SS |
WORD |
| Modifier and Type | Method and Description |
|---|---|
protected void |
emitImmediate(AMD64BaseAssembler asm,
int imm)
Emit an immediate of this size.
|
static AMD64BaseAssembler.OperandSize |
get(PlatformKind kind) |
int |
getBytes() |
AMD64Kind |
getKind() |
int |
getSizePrefix() |
protected int |
immediateSize() |
boolean |
isXmmType() |
static AMD64BaseAssembler.OperandSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMD64BaseAssembler.OperandSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMD64BaseAssembler.OperandSize BYTE
public static final AMD64BaseAssembler.OperandSize WORD
public static final AMD64BaseAssembler.OperandSize DWORD
public static final AMD64BaseAssembler.OperandSize QWORD
public static final AMD64BaseAssembler.OperandSize SS
public static final AMD64BaseAssembler.OperandSize SD
public static final AMD64BaseAssembler.OperandSize PS
public static final AMD64BaseAssembler.OperandSize PD
public static AMD64BaseAssembler.OperandSize[] values()
public static AMD64BaseAssembler.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 getSizePrefix()
public int getBytes()
public boolean isXmmType()
public AMD64Kind getKind()
public static AMD64BaseAssembler.OperandSize get(PlatformKind kind)
protected void emitImmediate(AMD64BaseAssembler asm, int imm)
AMD64BaseAssembler.OperandSize.QWORD operands are encoded
as sign-extended 32-bit values.asm - imm - protected int immediateSize()