Package jnr.a64asm

Class Asm


  • public final class Asm
    extends Object
    • 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).
    • Method Detail

      • ptr

        public static final Mem ptr​(Label label,
                                    long disp)
        Create pointer operand with not specified size.
      • ptr

        public static final Mem ptr​(Label label)
        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.
      • word_ptr

        public static final Mem word_ptr​(Label label)
        Create word (2 Bytes) pointer operand.
      • dword_ptr

        public static final Mem dword_ptr​(Label label,
                                          long disp)
        Create dword (4 Bytes) pointer operand.
      • dword_ptr

        public static final Mem dword_ptr​(Label label)
        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)