Lines Matching refs:VAL
98 #define SLOT_PEND_MASK(DEST, MSK, VAL) \ argument
106 SLOT[SLOT_NR].data._1 = (unsigned_1) (VAL); \
110 SLOT[SLOT_NR].data._2 = (unsigned_2) (VAL); \
114 SLOT[SLOT_NR].data._4 = (unsigned_4) (VAL); \
118 SLOT[SLOT_NR].data._8 = (unsigned_8) (VAL); \
125 #define SLOT_PEND(DEST, VAL) SLOT_PEND_MASK(DEST, 0, VAL) argument
229 #define SET_GPR(N,VAL) SLOT_PEND (State.regs[(N)], (VAL)) argument
233 #define SET_GPR32(N,VAL) do { SET_GPR (OP[0] + 0, (VAL) >> 16); SET_GPR (OP[0] + 1, (VAL)); } while… argument
237 #define SET_CREG(N,VAL) move_to_cr (sd, cpu, (N), 0, (VAL), 0) argument
238 #define SET_HW_CREG(N,VAL) move_to_cr (sd, cpu, (N), 0, (VAL), 1) argument
242 #define SET_HELD_SP(N,VAL) SLOT_PEND (State.sp[(N)], (VAL)) argument
246 #define SET_ACC(N,VAL) SLOT_PEND (State.a[(N)], (VAL) & MASK40) argument
308 #define SET_PSW(VAL) SET_CREG (PSW_CR, (VAL)) argument
309 #define SET_HW_PSW(VAL) SET_HW_CREG (PSW_CR, (VAL)) argument
310 #define SET_PSW_BIT(MASK,VAL) move_to_cr (sd, cpu, PSW_CR, ~((reg_t) MASK), (VAL) ? (MASK) : 0, 1) argument
313 #define SET_PSW_SM(VAL) SET_PSW_BIT (PSW_SM_BIT, (VAL)) argument
316 #define SET_PSW_EA(VAL) SET_PSW_BIT (PSW_EA_BIT, (VAL)) argument
319 #define SET_PSW_DB(VAL) SET_PSW_BIT (PSW_DB_BIT, (VAL)) argument
322 #define SET_PSW_DM(VAL) SET_PSW_BIT (PSW_DM_BIT, (VAL)) argument
325 #define SET_PSW_IE(VAL) SET_PSW_BIT (PSW_IE_BIT, (VAL)) argument
328 #define SET_PSW_RP(VAL) SET_PSW_BIT (PSW_RP_BIT, (VAL)) argument
331 #define SET_PSW_MD(VAL) SET_PSW_BIT (PSW_MD_BIT, (VAL)) argument
334 #define SET_PSW_FX(VAL) SET_PSW_BIT (PSW_FX_BIT, (VAL)) argument
337 #define SET_PSW_ST(VAL) SET_PSW_BIT (PSW_ST_BIT, (VAL)) argument
340 #define SET_PSW_F0(VAL) SET_PSW_BIT (PSW_F0_BIT, (VAL)) argument
343 #define SET_PSW_F1(VAL) SET_PSW_BIT (PSW_F1_BIT, (VAL)) argument
346 #define SET_PSW_C(VAL) SET_PSW_BIT (PSW_C_BIT, (VAL)) argument
352 #define SET_PC(VAL) SET_CREG (PC_CR, (VAL)) argument
355 #define SET_BPSW(VAL) SET_CREG (BPSW_CR, (VAL)) argument
358 #define SET_BPC(VAL) SET_CREG (BPC_CR, (VAL)) argument
361 #define SET_DPSW(VAL) SET_CREG (DPSW_CR, (VAL)) argument
364 #define SET_DPC(VAL) SET_CREG (DPC_CR, (VAL)) argument
367 #define SET_RPT_C(VAL) SET_CREG (RPT_C_CR, (VAL)) argument
370 #define SET_RPT_S(VAL) SET_CREG (RPT_S_CR, (VAL)) argument
373 #define SET_RPT_E(VAL) SET_CREG (RPT_E_CR, (VAL)) argument
376 #define SET_MOD_S(VAL) SET_CREG (MOD_S_CR, (VAL)) argument
379 #define SET_MOD_E(VAL) SET_CREG (MOD_E_CR, (VAL)) argument
382 #define SET_IBA(VAL) SET_CREG (IBA_CR, (VAL)) argument