Lines Matching refs:imm
104 uint32_t imm = 0; in accept_packet() local
111 imm = (imm << 8) | program[pc++]; in accept_packet()
113 signed_imm = imm << ((4 - imm_len) * 8); in accept_packet()
124 uint32_t offs = imm; in accept_packet()
159 pc += imm; in accept_packet()
181 pc += imm; in accept_packet()
185 pc += imm; in accept_packet()
189 pc += imm; in accept_packet()
193 pc += imm; in accept_packet()
197 pc += imm; in accept_packet()
210 pc += imm; in accept_packet()
219 registers[0] += reg_num ? registers[1] : imm; in accept_packet()
222 registers[0] *= reg_num ? registers[1] : imm; in accept_packet()
225 const uint32_t div_operand = reg_num ? registers[1] : imm; in accept_packet()
231 registers[0] &= reg_num ? registers[1] : imm; in accept_packet()
234 registers[0] |= reg_num ? registers[1] : imm; in accept_packet()
252 ENFORCE_UNSIGNED(imm) && in accept_packet()
254 imm >= LDM_EXT_OPCODE && in accept_packet()
256 imm < (LDM_EXT_OPCODE + MEMORY_ITEMS)) { in accept_packet()
257 REG = memory[imm - LDM_EXT_OPCODE]; in accept_packet()
258 } else if (imm >= STM_EXT_OPCODE && imm < (STM_EXT_OPCODE + MEMORY_ITEMS)) { in accept_packet()
259 memory[imm - STM_EXT_OPCODE] = REG; in accept_packet()
260 } else switch (imm) { in accept_packet()