Top Fields Constructors Methods
jnr.a64asm

public final Class Asm

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

Field Summary

Modifier and TypeField and Description
public static final CPU_A64
public static final Register
fp

frame pointer

public static final Register
lr

link register

public static final Register
no_reg

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

public static final Register
sp

stack pointer

public static final Register
w0

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

public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
public static final Register
x0

64 bit General purpose register.

public static final Register
x1

64 bit General purpose register.

public static final Register
x2

64 bit General purpose register.

public static final Register
x3

64 bit General purpose register.

public static final Register
x4

64 bit General purpose register.

public static final Register
x5

64 bit General purpose register.

public static final Register
x6

64 bit General purpose register.

public static final Register
x7

64 bit General purpose register.

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, int ptrSize)

Absolute addressing

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

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 qword (8 Bytes) pointer operand.

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

Create dword (8 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, Register index, int shift, long disp)

public static final Immediate
imm(long value)

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 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 dword (4 Bytes) pointer operand.

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

Create word (4 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, Register index, int shift, long disp)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Aarch_64back to summary
public static final CPU_A64 Aarch_64
fpback to summary
public static final Register fp

frame pointer

lrback to summary
public static final Register lr

link register

no_regback to summary
public static final Register no_reg

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

spback to summary
public static final Register sp

stack pointer

w0back to summary
public static final Register w0

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

w1back to summary
public static final Register w1
w10back to summary
public static final Register w10
w11back to summary
public static final Register w11
w12back to summary
public static final Register w12
w13back to summary
public static final Register w13
w14back to summary
public static final Register w14
w15back to summary
public static final Register w15
w2back to summary
public static final Register w2
w3back to summary
public static final Register w3
w4back to summary
public static final Register w4
w5back to summary
public static final Register w5
w6back to summary
public static final Register w6
w7back to summary
public static final Register w7
w8back to summary
public static final Register w8
w9back to summary
public static final Register w9
x0back to summary
public static final Register x0

64 bit General purpose register.

x1back to summary
public static final Register x1

64 bit General purpose register.

x2back to summary
public static final Register x2

64 bit General purpose register.

x3back to summary
public static final Register x3

64 bit General purpose register.

x4back to summary
public static final Register x4

64 bit General purpose register.

x5back to summary
public static final Register x5

64 bit General purpose register.

x6back to summary
public static final Register x6

64 bit General purpose register.

x7back to summary
public static final Register x7

64 bit General purpose register.

Constructor Detail

Asmback to summary
private Asm()

Method Detail

_ptr_buildback to summary
pack-priv static final Mem _ptr_build(Label label, long disp, int ptrSize)
_ptr_buildback to summary
pack-priv static final Mem _ptr_build(Label label, Register index, int shift, long disp, int ptrSize)
_ptr_buildback to summary
pack-priv static final Mem _ptr_build(Register base, long disp, int ptrSize)
_ptr_buildback to summary
pack-priv static final Mem _ptr_build(Register base, Register index, int shift, long disp, int ptrSize)
_ptr_build_absback to summary
pack-priv static final Mem _ptr_build_abs(long target, long disp, int ptrSize)

Absolute addressing

_ptr_build_absback to summary
pack-priv static final Mem _ptr_build_abs(long target, Register index, int shift, long disp, int ptrSize)
dword_ptrback to summary
public static final Mem dword_ptr(Label label, long disp)

Create dword (4 Bytes) pointer operand.

dword_ptrback to summary
public static final Mem dword_ptr(Label label)

Create dword (4 Bytes) pointer operand.

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

Create qword (8 Bytes) pointer operand.

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

Create dword (8 Bytes) pointer operand.

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

Create dword (4 Bytes) pointer operand.

dword_ptr_absback to summary
public static final Mem dword_ptr_abs(long target, Register index, int shift, long disp)
immback to summary
public static final Immediate imm(long value)
ptrback to summary
public static final Mem ptr(Label label, long disp)

Create pointer operand with not specified size.

ptrback to summary
public static final Mem ptr(Label label)

Create pointer operand with not specified size.

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

Create pointer operand with not specified size.

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

Create pointer operand with not specified size.

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

Create pointer operand with not specified size.

uimmback to summary
public static final Immediate uimm(long value)
word_ptrback to summary
public static final Mem word_ptr(Label label, long disp)

Create word (2 Bytes) pointer operand.

word_ptrback to summary
public static final Mem word_ptr(Label label)

Create word (2 Bytes) pointer operand.

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

Create dword (4 Bytes) pointer operand.

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

Create word (4 Bytes) pointer operand.

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

Create word (2 Bytes) pointer operand.

word_ptr_absback to summary
public static final Mem word_ptr_abs(long target, Register index, int shift, long disp)