Lines Matching refs:imm
86 uint32_t imm = 0; in apf_disassemble() local
91 imm = (imm << 8) | program[pc++]; in apf_disassemble()
93 signed_imm = imm << ((4 - imm_len) * 8); in apf_disassemble()
101 printf("r%d, [%u]", reg_num, imm); in apf_disassemble()
107 printf("r%d, [r1+%u]", reg_num, imm); in apf_disassemble()
111 print_jump_target(pc + imm, program_len); in apf_disassemble()
135 print_jump_target(pc + imm + cmp_imm, program_len); in apf_disassemble()
140 print_jump_target(pc + imm, program_len); in apf_disassemble()
161 printf("r0, %u", imm); in apf_disassemble()
173 ENFORCE_UNSIGNED(imm) && in apf_disassemble()
175 imm >= LDM_EXT_OPCODE && in apf_disassemble()
177 imm < (LDM_EXT_OPCODE + MEMORY_ITEMS)) { in apf_disassemble()
179 printf("r%d, m[%u]", reg_num, imm - LDM_EXT_OPCODE); in apf_disassemble()
180 } else if (imm >= STM_EXT_OPCODE && imm < (STM_EXT_OPCODE + MEMORY_ITEMS)) { in apf_disassemble()
182 printf("r%d, m[%u]", reg_num, imm - STM_EXT_OPCODE); in apf_disassemble()
183 } else switch (imm) { in apf_disassemble()
200 printf("unknown_ext %u", imm); in apf_disassemble()