Lines Matching refs:imm
94 uint32_t imm = 0; in accept_packet() local
101 imm = (imm << 8) | program[pc++]; in accept_packet()
103 signed_imm = imm << ((4 - imm_len) * 8); in accept_packet()
113 uint32_t offs = imm; in accept_packet()
148 pc += imm; in accept_packet()
170 pc += imm; in accept_packet()
174 pc += imm; in accept_packet()
178 pc += imm; in accept_packet()
182 pc += imm; in accept_packet()
186 pc += imm; in accept_packet()
199 pc += imm; in accept_packet()
208 registers[0] += reg_num ? registers[1] : imm; in accept_packet()
211 registers[0] *= reg_num ? registers[1] : imm; in accept_packet()
214 const uint32_t div_operand = reg_num ? registers[1] : imm; in accept_packet()
220 registers[0] &= reg_num ? registers[1] : imm; in accept_packet()
223 registers[0] |= reg_num ? registers[1] : imm; in accept_packet()
241 ENFORCE_UNSIGNED(imm) && in accept_packet()
243 imm >= LDM_EXT_OPCODE && in accept_packet()
245 imm < (LDM_EXT_OPCODE + MEMORY_ITEMS)) { in accept_packet()
246 REG = memory[imm - LDM_EXT_OPCODE]; in accept_packet()
247 } else if (imm >= STM_EXT_OPCODE && imm < (STM_EXT_OPCODE + MEMORY_ITEMS)) { in accept_packet()
248 memory[imm - STM_EXT_OPCODE] = REG; in accept_packet()
249 } else switch (imm) { in accept_packet()