Lines Matching defs:rPC
57 r4 rPC interpreted program counter, used for fetching instructions
69 #define rPC r4
76 #define LOAD_PC_FROM_GLUE() ldr rPC, [rGLUE, #offGlue_pc]
77 #define SAVE_PC_TO_GLUE() str rPC, [rGLUE, #offGlue_pc]
80 #define LOAD_PC_FP_FROM_GLUE() ldmia rGLUE, {rPC, rFP}
81 #define SAVE_PC_FP_TO_GLUE() stmia rGLUE, {rPC, rFP}
93 str rPC, [rFP, #(-sizeofStackSaveArea + offStackSaveArea_currentPc)]
104 * Fetch the next instruction from rPC into rINST. Does not advance rPC.
106 #define FETCH_INST() ldrh rINST, [rPC]
109 * Fetch the next instruction from the specified offset. Advances rPC
120 #define FETCH_ADVANCE_INST(_count) ldrh rINST, [rPC, #(_count*2)]!
124 * src and dest registers are parameterized (not hard-wired to rPC and rINST).
131 * rPC to point to the next instruction. "_reg" must specify the distance
134 * We want to write "ldrh rINST, [rPC, _reg, lsl #2]!", but some of the
139 #define FETCH_ADVANCE_INST_RB(_reg) ldrh rINST, [rPC, _reg]!
143 * "_count" value is in 16-bit code units. Does not advance rPC.
147 #define FETCH(_reg, _count) ldrh _reg, [rPC, #(_count*2)]
148 #define FETCH_S(_reg, _count) ldrsh _reg, [rPC, #(_count*2)]
155 #define FETCH_B(_reg, _count, _byte) ldrb _reg, [rPC, #(_count*2+_byte)]