Home
last modified time | relevance | path

Searched refs:ACCESS_FLAG (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/bios_emulator/x86emu/
Ddebug.c378 if (ACCESS_FLAG(F_OF)) in x86emu_dump_regs()
382 if (ACCESS_FLAG(F_DF)) in x86emu_dump_regs()
386 if (ACCESS_FLAG(F_IF)) in x86emu_dump_regs()
390 if (ACCESS_FLAG(F_SF)) in x86emu_dump_regs()
394 if (ACCESS_FLAG(F_ZF)) in x86emu_dump_regs()
398 if (ACCESS_FLAG(F_AF)) in x86emu_dump_regs()
402 if (ACCESS_FLAG(F_PF)) in x86emu_dump_regs()
406 if (ACCESS_FLAG(F_CF)) in x86emu_dump_regs()
428 if (ACCESS_FLAG(F_OF)) in x86emu_dump_xregs()
432 if (ACCESS_FLAG(F_DF)) in x86emu_dump_xregs()
[all …]
Dops2.c80 return ACCESS_FLAG(F_OF); in x86emu_check_jump_condition()
83 return !ACCESS_FLAG(F_OF); in x86emu_check_jump_condition()
87 return ACCESS_FLAG(F_CF); in x86emu_check_jump_condition()
91 return !ACCESS_FLAG(F_CF); in x86emu_check_jump_condition()
95 return ACCESS_FLAG(F_ZF); in x86emu_check_jump_condition()
99 return !ACCESS_FLAG(F_ZF); 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()
111 return ACCESS_FLAG(F_SF); in x86emu_check_jump_condition()
115 return !ACCESS_FLAG(F_SF); in x86emu_check_jump_condition()
[all …]
Dprim_ops.c213 if ((d & 0xf) > 0x9 || ACCESS_FLAG(F_AF)) { in aaa_word()
234 if ((d & 0xf) > 0x9 || ACCESS_FLAG(F_AF)) { in aas_word()
290 if (ACCESS_FLAG(F_CF)) res++; in adc_byte()
307 if (ACCESS_FLAG(F_CF)) in adc_word()
329 if (ACCESS_FLAG(F_CF)) { in adc_long()
484 if ((d & 0xf) > 9 || ACCESS_FLAG(F_AF)) { in daa_byte()
488 if (res > 0x9F || ACCESS_FLAG(F_CF)) { in daa_byte()
502 if ((d & 0xf) > 9 || ACCESS_FLAG(F_AF)) { in das_byte()
506 if (d > 0x9F || ACCESS_FLAG(F_CF)) { in das_byte()
776 if (ACCESS_FLAG(F_CF)) { /* carry flag is set */ in rcl_byte()
[all …]
Dops.c2527 if (ACCESS_FLAG(F_DF)) /* down */ in x86emuOp_movs_byte()
2563 if (ACCESS_FLAG(F_DF)) /* down */ in x86emuOp_movs_word()
2569 if (ACCESS_FLAG(F_DF)) /* down */ in x86emuOp_movs_word()
2610 if (ACCESS_FLAG(F_DF)) /* down */ in x86emuOp_cmps_byte()
2625 if ( (M.x86.mode & SYSMODE_PREFIX_REPE) && (ACCESS_FLAG(F_ZF) == 0) ) break; in x86emuOp_cmps_byte()
2626 if ( (M.x86.mode & SYSMODE_PREFIX_REPNE) && ACCESS_FLAG(F_ZF) ) break; in x86emuOp_cmps_byte()
2657 if (ACCESS_FLAG(F_DF)) /* down */ in x86emuOp_cmps_word()
2677 if ( (M.x86.mode & SYSMODE_PREFIX_REPE) && ACCESS_FLAG(F_ZF) == 0 ) break; in x86emuOp_cmps_word()
2678 if ( (M.x86.mode & SYSMODE_PREFIX_REPNE) && ACCESS_FLAG(F_ZF) ) break; in x86emuOp_cmps_word()
2753 if (ACCESS_FLAG(F_DF)) /* down */ in x86emuOp_stos_byte()
[all …]
Ddecode.c116 !ACCESS_FLAG(F_IF)) { in X86EMU_exec()
/external/u-boot/drivers/bios_emulator/include/x86emu/
Dregs.h213 #define ACCESS_FLAG(flag) (M.x86.R_FLG & (flag)) macro