Lines Matching refs:Cpsr
123 return (CPSR | state->Cpsr);
131 state->Cpsr = value;
141 state->Cpsr = ARMul_GetCPSR (state);
148 SETPSR_C (state->Cpsr, rhs);
150 SETPSR_X (state->Cpsr, rhs);
152 SETPSR_S (state->Cpsr, rhs);
155 SETPSR_F (state->Cpsr, rhs);
201 /* This routine updates the state of the emulator after the Cpsr has been
210 state->Cpsr &= (CCBITS | INTBITS | R15MODEBITS);
214 if (state->Mode != (state->Cpsr & MODEBITS))
217 ARMul_SwitchMode (state, state->Mode, state->Cpsr & MODEBITS);
221 state->Cpsr &= ~MODEBITS;
223 ASSIGNINT (state->Cpsr & INTBITS);
224 state->Cpsr &= ~INTBITS;
225 ASSIGNN ((state->Cpsr & NBIT) != 0);
226 state->Cpsr &= ~NBIT;
227 ASSIGNZ ((state->Cpsr & ZBIT) != 0);
228 state->Cpsr &= ~ZBIT;
229 ASSIGNC ((state->Cpsr & CBIT) != 0);
230 state->Cpsr &= ~CBIT;
231 ASSIGNV ((state->Cpsr & VBIT) != 0);
232 state->Cpsr &= ~VBIT;
233 ASSIGNS ((state->Cpsr & SBIT) != 0);
234 state->Cpsr &= ~SBIT;
236 ASSIGNT ((state->Cpsr & TBIT) != 0);
237 state->Cpsr &= ~TBIT;