Package jnr.a64asm
Class Asm
- java.lang.Object
-
- jnr.a64asm.Asm
-
public final class Asm extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static CPU_A64Aarch_64static Registerfpframe pointerstatic Registerlrlink registerstatic Registerno_regNo register, can be used only in @c Mem operand.static Registerspstack pointerstatic Registerw064 bit 15 Spare General purpose register (64 bit mode only).static Registerw1static Registerw10static Registerw11static Registerw12static Registerw13static Registerw14static Registerw15static Registerw2static Registerw3static Registerw4static Registerw5static Registerw6static Registerw7static Registerw8static Registerw9static Registerx064 bit General purpose register.static Registerx164 bit General purpose register.static Registerx264 bit General purpose register.static Registerx364 bit General purpose register.static Registerx464 bit General purpose register.static Registerx564 bit General purpose register.static Registerx664 bit General purpose register.static Registerx764 bit General purpose register.
-
Constructor Summary
Constructors Modifier Constructor Description privateAsm()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Mem_ptr_build(Label label, long disp, int ptrSize)(package private) static Mem_ptr_build(Label label, Register index, int shift, long disp, int ptrSize)(package private) static Mem_ptr_build(Register base, long disp, int ptrSize)(package private) static Mem_ptr_build(Register base, Register index, int shift, long disp, int ptrSize)(package private) static Mem_ptr_build_abs(long target, long disp, int ptrSize)Absolute addressing(package private) static Mem_ptr_build_abs(long target, Register index, int shift, long disp, int ptrSize)static Memdword_ptr(Label label)Create dword (4 Bytes) pointer operand.static Memdword_ptr(Label label, long disp)Create dword (4 Bytes) pointer operand.static Memdword_ptr(Label label, Register index, int shift, long disp)Create qword (8 Bytes) pointer operand.static Memdword_ptr(Register base, long disp)Create dword (8 Bytes) pointer operand.static Memdword_ptr(Register base, Register index, int shift, long disp)Create dword (4 Bytes) pointer operand.static Memdword_ptr_abs(long target, Register index, int shift, long disp)static Immediateimm(long value)static Memptr(Label label)Create pointer operand with not specified size.static Memptr(Label label, long disp)Create pointer operand with not specified size.static Memptr(Label label, Register index, int shift, long disp)Create pointer operand with not specified size.static Memptr(Register base, long disp)Create pointer operand with not specified size.static Memptr(Register base, Register index, int shift, long disp)Create pointer operand with not specified size.static Immediateuimm(long value)static Memword_ptr(Label label)Create word (2 Bytes) pointer operand.static Memword_ptr(Label label, long disp)Create word (2 Bytes) pointer operand.static Memword_ptr(Label label, Register index, int shift, long disp)Create dword (4 Bytes) pointer operand.static Memword_ptr(Register base, long disp)Create word (4 Bytes) pointer operand.static Memword_ptr(Register base, Register index, int shift, long disp)Create word (2 Bytes) pointer operand.static Memword_ptr_abs(long target, Register index, int shift, long disp)
-
-
-
Field Detail
-
Aarch_64
public static final CPU_A64 Aarch_64
-
no_reg
public static final Register no_reg
No register, can be used only in @c Mem operand.
-
x0
public static final Register x0
64 bit General purpose register.
-
x1
public static final Register x1
64 bit General purpose register.
-
x2
public static final Register x2
64 bit General purpose register.
-
x3
public static final Register x3
64 bit General purpose register.
-
x4
public static final Register x4
64 bit General purpose register.
-
x5
public static final Register x5
64 bit General purpose register.
-
x6
public static final Register x6
64 bit General purpose register.
-
x7
public static final Register x7
64 bit General purpose register.
-
fp
public static final Register fp
frame pointer
-
lr
public static final Register lr
link register
-
sp
public static final Register sp
stack pointer
-
w0
public static final Register w0
64 bit 15 Spare General purpose register (64 bit mode only).
-
w1
public static final Register w1
-
w2
public static final Register w2
-
w3
public static final Register w3
-
w4
public static final Register w4
-
w5
public static final Register w5
-
w6
public static final Register w6
-
w7
public static final Register w7
-
w8
public static final Register w8
-
w9
public static final Register w9
-
w10
public static final Register w10
-
w11
public static final Register w11
-
w12
public static final Register w12
-
w13
public static final Register w13
-
w14
public static final Register w14
-
w15
public static final Register w15
-
-
Method Detail
-
_ptr_build
static final Mem _ptr_build(Label label, Register index, int shift, long disp, int ptrSize)
-
_ptr_build_abs
static final Mem _ptr_build_abs(long target, long disp, int ptrSize)
Absolute addressing
-
_ptr_build_abs
static final Mem _ptr_build_abs(long target, Register index, int shift, long disp, int ptrSize)
-
_ptr_build
static final Mem _ptr_build(Register base, Register index, int shift, long disp, int ptrSize)
-
ptr
public static final Mem ptr(Label label, long disp)
Create pointer operand with not specified size.
-
word_ptr
public static final Mem word_ptr(Label label, long disp)
Create word (2 Bytes) pointer operand.
-
dword_ptr
public static final Mem dword_ptr(Label label, long disp)
Create dword (4 Bytes) pointer operand.
-
ptr
public static final Mem ptr(Label label, Register index, int shift, long disp)
Create pointer operand with not specified size.
-
word_ptr
public static final Mem word_ptr(Label label, Register index, int shift, long disp)
Create dword (4 Bytes) pointer operand.
-
dword_ptr
public static final Mem dword_ptr(Label label, Register index, int shift, long disp)
Create qword (8 Bytes) pointer operand.
-
word_ptr_abs
public static final Mem word_ptr_abs(long target, Register index, int shift, long disp)
-
dword_ptr_abs
public static final Mem dword_ptr_abs(long target, Register index, int shift, long disp)
-
ptr
public static final Mem ptr(Register base, long disp)
Create pointer operand with not specified size.
-
word_ptr
public static final Mem word_ptr(Register base, long disp)
Create word (4 Bytes) pointer operand.
-
dword_ptr
public static final Mem dword_ptr(Register base, long disp)
Create dword (8 Bytes) pointer operand.
-
ptr
public static final Mem ptr(Register base, Register index, int shift, long disp)
Create pointer operand with not specified size.
-
word_ptr
public static final Mem word_ptr(Register base, Register index, int shift, long disp)
Create word (2 Bytes) pointer operand.
-
dword_ptr
public static final Mem dword_ptr(Register base, Register index, int shift, long disp)
Create dword (4 Bytes) pointer operand.
-
imm
public static final Immediate imm(long value)
-
uimm
public static final Immediate uimm(long value)
-
-