Home
last modified time | relevance | path

Searched refs:F_CF (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/bios_emulator/x86emu/
Dprim_ops.c161 CLEAR_FLAG(F_CF); in no_carry_byte_side_eff()
169 CLEAR_FLAG(F_CF); in no_carry_word_side_eff()
177 CLEAR_FLAG(F_CF); in no_carry_long_side_eff()
190 CONDITIONAL_SET_FLAG(res & (1 << bits), F_CF); in calc_carry_chain()
202 CONDITIONAL_SET_FLAG(bc & (1 << (bits - 1)), F_CF); in calc_borrow_chain()
217 SET_FLAG(F_CF); in aaa_word()
219 CLEAR_FLAG(F_CF); in aaa_word()
238 SET_FLAG(F_CF); in aas_word()
240 CLEAR_FLAG(F_CF); in aas_word()
290 if (ACCESS_FLAG(F_CF)) res++; in adc_byte()
[all …]
Dops2.c87 return ACCESS_FLAG(F_CF); in x86emu_check_jump_condition()
91 return !ACCESS_FLAG(F_CF); in x86emu_check_jump_condition()
103 return ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF); in x86emu_check_jump_condition()
107 return !(ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF)); in x86emu_check_jump_condition()
187 cond = ACCESS_FLAG(F_CF); in x86emuOp2_set_byte()
191 cond = !ACCESS_FLAG(F_CF); in x86emuOp2_set_byte()
203 cond = ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF); in x86emuOp2_set_byte()
207 cond = !(ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF)); in x86emuOp2_set_byte()
312 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF); in x86emuOp2_bt_R()
323 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF); in x86emuOp2_bt_R()
[all …]
Dops.c974 CLEAR_FLAG(F_CF); in x86emuOp_imul_word_IMM()
977 SET_FLAG(F_CF); in x86emuOp_imul_word_IMM()
996 CLEAR_FLAG(F_CF); in x86emuOp_imul_word_IMM()
999 SET_FLAG(F_CF); in x86emuOp_imul_word_IMM()
1019 CLEAR_FLAG(F_CF); in x86emuOp_imul_word_IMM()
1022 SET_FLAG(F_CF); in x86emuOp_imul_word_IMM()
1039 CLEAR_FLAG(F_CF); in x86emuOp_imul_word_IMM()
1042 SET_FLAG(F_CF); in x86emuOp_imul_word_IMM()
1098 CLEAR_FLAG(F_CF); in x86emuOp_imul_byte_IMM()
1101 SET_FLAG(F_CF); in x86emuOp_imul_byte_IMM()
[all …]
Ddebug.c406 if (ACCESS_FLAG(F_CF)) in x86emu_dump_regs()
456 if (ACCESS_FLAG(F_CF)) in x86emu_dump_xregs()
/external/u-boot/drivers/bios_emulator/
Dbios.c168 CLEAR_FLAG(F_CF);
183 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
214 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
234 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
254 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
274 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
293 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
312 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
331 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
Dbiosemu.c274 regs->e.cflag = M.x86.R_EFLG & F_CF; in BE_callRealMode()
316 out->e.cflag = M.x86.R_EFLG & F_CF; in BE_int86()
360 out->e.cflag = M.x86.R_EFLG & F_CF; in BE_int86x()
/external/u-boot/drivers/bios_emulator/include/x86emu/
Dregs.h200 #define F_CF 0x0001 /* CARRY flag */ macro