Package jnr.a64asm
Class Asm
- java.lang.Object
-
- jnr.a64asm.Asm
-
public final class Asm extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static CPU_A64
Aarch_64
static Register
fp
frame pointerstatic Register
lr
link registerstatic Register
no_reg
No register, can be used only in @c Mem operand.static Register
sp
stack pointerstatic Register
w0
64 bit 15 Spare General purpose register (64 bit mode only).static Register
w1
static Register
w10
static Register
w11
static Register
w12
static Register
w13
static Register
w14
static Register
w15
static Register
w2
static Register
w3
static Register
w4
static Register
w5
static Register
w6
static Register
w7
static Register
w8
static Register
w9
static Register
x0
64 bit General purpose register.static Register
x1
64 bit General purpose register.static Register
x2
64 bit General purpose register.static Register
x3
64 bit General purpose register.static Register
x4
64 bit General purpose register.static Register
x5
64 bit General purpose register.static Register
x6
64 bit General purpose register.static Register
x7
64 bit General purpose register.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mem
dword_ptr(Label label)
Create dword (4 Bytes) pointer operand.static Mem
dword_ptr(Label label, long disp)
Create dword (4 Bytes) pointer operand.static Mem
dword_ptr(Label label, Register index, int shift, long disp)
Create qword (8 Bytes) pointer operand.static Mem
dword_ptr(Register base, long disp)
Create dword (8 Bytes) pointer operand.static Mem
dword_ptr(Register base, Register index, int shift, long disp)
Create dword (4 Bytes) pointer operand.static Mem
dword_ptr_abs(long target, Register index, int shift, long disp)
static Immediate
imm(long value)
static Mem
ptr(Label label)
Create pointer operand with not specified size.static Mem
ptr(Label label, long disp)
Create pointer operand with not specified size.static Mem
ptr(Label label, Register index, int shift, long disp)
Create pointer operand with not specified size.static Mem
ptr(Register base, long disp)
Create pointer operand with not specified size.static Mem
ptr(Register base, Register index, int shift, long disp)
Create pointer operand with not specified size.static Immediate
uimm(long value)
static Mem
word_ptr(Label label)
Create word (2 Bytes) pointer operand.static Mem
word_ptr(Label label, long disp)
Create word (2 Bytes) pointer operand.static Mem
word_ptr(Label label, Register index, int shift, long disp)
Create dword (4 Bytes) pointer operand.static Mem
word_ptr(Register base, long disp)
Create word (4 Bytes) pointer operand.static Mem
word_ptr(Register base, Register index, int shift, long disp)
Create word (2 Bytes) pointer operand.static Mem
word_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
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)
-
-