Lines Matching refs:Cpsr
126 return (CPSR | state->Cpsr);
134 state->Cpsr = value;
144 state->Cpsr = ARMul_GetCPSR (state);
151 SETPSR_C (state->Cpsr, rhs);
153 SETPSR_X (state->Cpsr, rhs);
155 SETPSR_S (state->Cpsr, rhs);
158 SETPSR_F (state->Cpsr, rhs);
204 /* This routine updates the state of the emulator after the Cpsr has been
213 state->Cpsr &= (CCBITS | INTBITS | R15MODEBITS);
217 if (state->Mode != (state->Cpsr & MODEBITS))
220 ARMul_SwitchMode (state, state->Mode, state->Cpsr & MODEBITS);
224 state->Cpsr &= ~MODEBITS;
226 ASSIGNINT (state->Cpsr & INTBITS);
227 state->Cpsr &= ~INTBITS;
228 ASSIGNN ((state->Cpsr & NBIT) != 0);
229 state->Cpsr &= ~NBIT;
230 ASSIGNZ ((state->Cpsr & ZBIT) != 0);
231 state->Cpsr &= ~ZBIT;
232 ASSIGNC ((state->Cpsr & CBIT) != 0);
233 state->Cpsr &= ~CBIT;
234 ASSIGNV ((state->Cpsr & VBIT) != 0);
235 state->Cpsr &= ~VBIT;
236 ASSIGNS ((state->Cpsr & SBIT) != 0);
237 state->Cpsr &= ~SBIT;
239 ASSIGNT ((state->Cpsr & TBIT) != 0);
240 state->Cpsr &= ~TBIT;