Top Fields Constructors Methods
jnr.x86asm

public final Class Asm

extends Object
Class Inheritance
Static Imports
jnr.x86asm.REG.*, jnr.x86asm.SIZE.*

Field Summary

Modifier and TypeField and Description
public static final Register
ah

8 bit General purpose register.

public static final Register
al

8 bit General purpose register.

public static final Register
ax

16 bit General purpose register.

public static final Register
bh

8 bit General purpose register.

public static final Register
bl

8 bit General purpose register.

public static final Register
bp

16 bit General purpose register.

public static final Register
bx

16 bit General purpose register.

public static final Register
ch

8 bit General purpose register.

public static final Register
cl

8 bit General purpose register.

public static final Register
cx

16 bit General purpose register.

public static final Register
dh

8 bit General purpose register.

public static final Register
di

16 bit General purpose register.

public static final Register
dl

8 bit General purpose register.

public static final Register
dx

16 bit General purpose register.

public static final Register
eax

32 bit General purpose register.

public static final Register
ebp

32 bit General purpose register.

public static final Register
ebx

32 bit General purpose register.

public static final Register
ecx

32 bit General purpose register.

public static final Register
edi

32 bit General purpose register.

public static final Register
edx

32 bit General purpose register.

public static final Register
esi

32 bit General purpose register.

public static final Register
esp

32 bit General purpose register.

public static final CPU
I386

Deprecated Use X86_32
public static final MMRegister
mm0

64 bit MMX register.

public static final MMRegister
mm1

64 bit MMX register.

public static final MMRegister
mm2

64 bit MMX register.

public static final MMRegister
mm3

64 bit MMX register.

public static final MMRegister
mm4

64 bit MMX register.

public static final MMRegister
mm5

64 bit MMX register.

public static final MMRegister
mm6

64 bit MMX register.

public static final MMRegister
mm7

64 bit MMX register.

public static final Register
no_reg

No register, can be used only in @c Mem operand.

public static final Register
r10

64 bit General purpose register (64 bit mode only).

public static final Register
r10b

8 bit General purpose register (64 bit mode only).

public static final Register
r10w

16 bit General purpose register (64 bit mode only).

public static final Register
r11

64 bit General purpose register (64 bit mode only).

public static final Register
r11b

8 bit General purpose register (64 bit mode only).

public static final Register
r11w

16 bit General purpose register (64 bit mode only).

public static final Register
r12

64 bit General purpose register (64 bit mode only).

public static final Register
r12b

8 bit General purpose register (64 bit mode only).

public static final Register
r12w

16 bit General purpose register (64 bit mode only).

public static final Register
r13

64 bit General purpose register (64 bit mode only).

public static final Register
r13b

8 bit General purpose register (64 bit mode only).

public static final Register
r13w

16 bit General purpose register (64 bit mode only).

public static final Register
r14

64 bit General purpose register (64 bit mode only).

public static final Register
r14b

8 bit General purpose register (64 bit mode only).

public static final Register
r14w

16 bit General purpose register (64 bit mode only).

public static final Register
r15

64 bit General purpose register (64 bit mode only).

public static final Register
r15b

8 bit General purpose register (64 bit mode only).

public static final Register
r15w

16 bit General purpose register (64 bit mode only).

public static final Register
r8

64 bit General purpose register (64 bit mode only).

public static final Register
r8b

8 bit General purpose register (64 bit mode only).

public static final Register
r8w

16 bit General purpose register (64 bit mode only).

public static final Register
r9

64 bit General purpose register (64 bit mode only).

public static final Register
r9b

8 bit General purpose register (64 bit mode only).

public static final Register
r9w

16 bit General purpose register (64 bit mode only).

public static final Register
rax

64 bit General purpose register (64 bit mode only).

public static final Register
rbp

64 bit General purpose register (64 bit mode only).

public static final Register
rbx

64 bit General purpose register (64 bit mode only).

public static final Register
rcx

64 bit General purpose register (64 bit mode only).

public static final Register
rdi

64 bit General purpose register (64 bit mode only).

public static final Register
rdx

64 bit General purpose register (64 bit mode only).

public static final Register
rsi

64 bit General purpose register (64 bit mode only).

public static final Register
rsp

64 bit General purpose register (64 bit mode only).

public static final Register
si

16 bit General purpose register.

public static final Register
sp

16 bit General purpose register.

public static final CPU
public static final CPU
public static final XMMRegister
xmm0

128 bit SSE register.

public static final XMMRegister
xmm1

128 bit SSE register.

public static final XMMRegister
xmm10

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm11

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm12

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm13

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm14

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm15

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm2

128 bit SSE register.

public static final XMMRegister
xmm3

128 bit SSE register.

public static final XMMRegister
xmm4

128 bit SSE register.

public static final XMMRegister
xmm5

128 bit SSE register.

public static final XMMRegister
xmm6

128 bit SSE register.

public static final XMMRegister
xmm7

128 bit SSE register.

public static final XMMRegister
xmm8

128 bit SSE register (64 bit mode only).

public static final XMMRegister
xmm9

128 bit SSE register (64 bit mode only).

Constructor Summary

AccessConstructor and Description
private
Asm()

Method Summary

Modifier and TypeMethod and Description
pack-priv static final Mem
_ptr_build(Label label, long disp, int ptrSize)

pack-priv static final Mem
_ptr_build(Label label, Register index, int shift, long disp, int ptrSize)

pack-priv static final Mem
_ptr_build(Register base, long disp, int ptrSize)

pack-priv static final Mem
_ptr_build(Register base, Register index, int shift, long disp, int ptrSize)

pack-priv static final Mem
_ptr_build_abs(long target, long disp, SEGMENT segmentPrefix, int ptrSize)

Absolute addressing

pack-priv static final Mem
_ptr_build_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix, int ptrSize)

public static final Mem
byte_ptr(Label label, long disp)

Create byte pointer operand.

public static final Mem
byte_ptr(Label label)

Create byte pointer operand.

public static final Mem
byte_ptr(Label label, Register index, int shift, long disp)

Create byte pointer operand.

public static final Mem
byte_ptr(Register base, long disp)

Create byte pointer operand.

public static final Mem
byte_ptr(Register base, Register index, int shift, long disp)

Create byte pointer operand.

public static final Mem
byte_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create byte pointer operand.

public static final Mem
byte_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create byte pointer operand.

public static final Mem
dqword_ptr(Label label, long disp)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dqword_ptr(Label label)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dqword_ptr(Label label, Register index, int shift, long disp)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dqword_ptr(Register base, long disp)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dqword_ptr(Register base, Register index, int shift, long disp)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dqword_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dqword_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create dqword (16 Bytes) pointer operand.

public static final Mem
dword_ptr(Label label, long disp)

Create dword (4 Bytes) pointer operand.

public static final Mem
dword_ptr(Label label)

Create dword (4 Bytes) pointer operand.

public static final Mem
dword_ptr(Label label, Register index, int shift, long disp)

Create dword (4 Bytes) pointer operand.

public static final Mem
dword_ptr(Register base, long disp)

Create dword (4 Bytes) pointer operand.

public static final Mem
dword_ptr(Register base, Register index, int shift, long disp)

Create dword (4 Bytes) pointer operand.

public static final Mem
dword_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create dword (4 Bytes) pointer operand.

public static final Mem
dword_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create dword (4 Bytes) pointer operand.

public static final Immediate
imm(long value)

public static final Mem
mmword_ptr(Label label, long disp)

Create mmword (8 bytes) pointer operand

Note

This constructor is provided only for convenience for mmx programming.

public static final Mem
mmword_ptr(Label label)

Create mmword (8 bytes) pointer operand

Note

This constructor is provided only for convenience for mmx programming.

public static final Mem
mmword_ptr(Label label, Register index, int shift, long disp)

Create mmword (8 bytes) pointer operand //!

public static final Mem
mmword_ptr(Register base, long disp)

Create mmword (8 bytes) pointer operand //!

public static final Mem
mmword_ptr(Register base, Register index, int shift, long disp)

Create mmword (8 Bytes) pointer operand).

public static final Mem
mmword_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create mmword (8 bytes) pointer operand //!

public static final Mem
mmword_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create mmword (8 bytes) pointer operand //!

public static final Mem
ptr(Label label, long disp)

Create pointer operand with not specified size.

public static final Mem
ptr(Label label)

Create pointer operand with not specified size.

public static final Mem
ptr(Label label, Register index, int shift, long disp)

Create pointer operand with not specified size.

public static final Mem
ptr(Register base, long disp)

Create pointer operand with not specified size.

public static final Mem
ptr(Register base, Register index, int shift, long disp)

Create pointer operand with not specified size.

public static final Mem
ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create pointer operand with not specified size.

public static final Mem
ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create pointer operand with not specified size.

public static final Mem
qword_ptr(Label label, long disp)

Create qword (8 Bytes) pointer operand.

public static final Mem
qword_ptr(Label label)

Create qword (8 Bytes) pointer operand.

public static final Mem
qword_ptr(Label label, Register index, int shift, long disp)

Create qword (8 Bytes) pointer operand.

public static final Mem
qword_ptr(Register base, long disp)

Create qword (8 Bytes) pointer operand.

public static final Mem
qword_ptr(Register base, Register index, int shift, long disp)

Create qword (8 Bytes) pointer operand.

public static final Mem
qword_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create qword (8 Bytes) pointer operand.

public static final Mem
qword_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create qword (8 Bytes) pointer operand.

public static final Mem
tword_ptr(Label label, long disp)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Mem
tword_ptr(Label label)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Mem
tword_ptr(Label label, Register index, int shift, long disp)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Mem
tword_ptr(Register base, long disp)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Mem
tword_ptr(Register base, Register index, int shift, long disp)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Mem
tword_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Mem
tword_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create tword (10 Bytes) pointer operand (used for 80 bit floating points).

public static final Immediate
uimm(long value)

public static final Mem
word_ptr(Label label, long disp)

Create word (2 Bytes) pointer operand.

public static final Mem
word_ptr(Label label)

Create word (2 Bytes) pointer operand.

public static final Mem
word_ptr(Label label, Register index, int shift, long disp)

Create word (2 Bytes) pointer operand.

public static final Mem
word_ptr(Register base, long disp)

Create word (2 Bytes) pointer operand.

public static final Mem
word_ptr(Register base, Register index, int shift, long disp)

Create word (2 Bytes) pointer operand.

public static final Mem
word_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create word (2 Bytes) pointer operand.

public static final Mem
word_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create word (2 Bytes) pointer operand.

public static final Mem
xmmword_ptr(Label label, long disp)

Create xmmword (16 bytes) pointer operand //!

public static final Mem
xmmword_ptr(Label label)

Create xmmword (16 bytes) pointer operand //!

public static final Mem
xmmword_ptr(Label label, Register index, int shift, long disp)

Create xmmword (16 bytes) pointer operand //!

public static final Mem
xmmword_ptr(Register base, long disp)

Create xmmword (16 bytes) pointer operand //!

public static final Mem
xmmword_ptr(Register base, Register index, int shift, long disp)

Create xmmword (16 Bytes) pointer operand.

public static final Mem
xmmword_ptr_abs(long target, long disp, SEGMENT segmentPrefix)

Create xmmword (16 bytes) pointer operand //!

public static final Mem
xmmword_ptr_abs(long target, Register index, int shift, long disp, SEGMENT segmentPrefix)

Create xmmword (16 bytes) pointer operand //!

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait