Lines Matching full:immediate
35 // Next 2 bits form "size field", which indicate the length of an immediate
37 // 0 => immediate value is 0 and no bytes follow.
38 // 1 => immediate value is 1 byte big.
39 // 2 => immediate value is 2 bytes big.
40 // 3 => immediate value is 4 bytes big.
49 // The immediate value that follows the first byte of the instruction is
58 // If the "register" field is 0 then the immediate value following
66 // immediate value that follows the first byte of the instruction
70 // If the "register" field is 0 then another immediate value
71 // follows the jump target offset. This immediate value is of the
110 // The first byte of the instruction is always followed by two immediate
111 // fields: The first immediate field is the jump target offset like other
112 // conditional jump instructions. The second immediate field specifies the
114 // These two immediate fields are followed by a sequence of bytes. These
127 #define LDB_OPCODE 1 // Load 1 byte from immediate offset, e.g. "ldb R0, [5]"
128 #define LDH_OPCODE 2 // Load 2 bytes from immediate offset, e.g. "ldh R0, [5]"
129 #define LDW_OPCODE 3 // Load 4 bytes from immediate offset, e.g. "ldw R0, [5]"
130 #define LDBX_OPCODE 4 // Load 1 byte from immediate offset plus register, e.g. "ldbx R0, [5]R0"
131 #define LDHX_OPCODE 5 // Load 2 byte from immediate offset plus register, e.g. "ldhx R0, [5]R0"
132 #define LDWX_OPCODE 6 // Load 4 byte from immediate offset plus register, e.g. "ldwx R0, [5]R0"
139 #define LI_OPCODE 13 // Load immediate, e.g. "li R0,5" (immediate encoded as signed value)
147 #define EXT_OPCODE 21 // Immediate value is one of *_EXT_OPCODE
149 // and specify the actual opcode in the immediate field.