Lines Matching full:flag
178 /* flag conditions */
179 #define FB_CF 0x0001 /* CARRY flag */
180 #define FB_PF 0x0004 /* PARITY flag */
181 #define FB_AF 0x0010 /* AUX flag */
182 #define FB_ZF 0x0040 /* ZERO flag */
183 #define FB_SF 0x0080 /* SIGN flag */
184 #define FB_TF 0x0100 /* TRAP flag */
185 #define FB_IF 0x0200 /* INTERRUPT ENABLE flag */
186 #define FB_DF 0x0400 /* DIR flag */
187 #define FB_OF 0x0800 /* OVERFLOW flag */
190 #define F_ALWAYS_ON (0x0002) /* flag bits always on */
193 * Define a mask for only those flag bits we will ever pass back
200 #define F_CF 0x0001 /* CARRY flag */
201 #define F_PF 0x0004 /* PARITY flag */
202 #define F_AF 0x0010 /* AUX flag */
203 #define F_ZF 0x0040 /* ZERO flag */
204 #define F_SF 0x0080 /* SIGN flag */
205 #define F_TF 0x0100 /* TRAP flag */
206 #define F_IF 0x0200 /* INTERRUPT ENABLE flag */
207 #define F_DF 0x0400 /* DIR flag */
208 #define F_OF 0x0800 /* OVERFLOW flag */
210 #define TOGGLE_FLAG(flag) (M.x86.R_FLG ^= (flag)) argument
211 #define SET_FLAG(flag) (M.x86.R_FLG |= (flag)) argument
212 #define CLEAR_FLAG(flag) (M.x86.R_FLG &= ~(flag)) argument
213 #define ACCESS_FLAG(flag) (M.x86.R_FLG & (flag)) argument
216 #define CONDITIONAL_SET_FLAG(COND,FLAG) \ argument
217 if (COND) SET_FLAG(FLAG); else CLEAR_FLAG(FLAG)
219 #define F_PF_CALC 0x010000 /* PARITY flag has been calced */
220 #define F_ZF_CALC 0x020000 /* ZERO flag has been calced */
221 #define F_SF_CALC 0x040000 /* SIGN flag has been calced */
273 * Delayed flag set 3 bits (zero, signed, parity)