#include <stdint.h>#include <errno.h>#include "emu/emu.h"#include "emu/emu_cpu.h"#include "emu/emu_cpu_data.h"#include "emu/emu_cpu_stack.h"#include "emu/emu_memory.h"
Defines | |
| #define | INSTR_CALC(bits, a, b) |
| #define | INSTR_CALC_AND_SET_FLAGS(bits, cpu, a, b) |
Functions | |
| int32_t | instr_test_84 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_test_85 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_test_a8 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_test_a9 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_group_3_f6_test (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_group_3_f7_test (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| #define INSTR_CALC | ( | bits, | |||
| a, | |||||
| b | ) |
| #define INSTR_CALC_AND_SET_FLAGS | ( | bits, | |||
| cpu, | |||||
| a, | |||||
| b | ) |
INSTR_CALC(bits, a, b) \ INSTR_SET_FLAG_ZF(cpu) \ INSTR_SET_FLAG_PF(cpu) \ INSTR_SET_FLAG_SF(cpu) \ CPU_FLAG_UNSET(cpu,f_cf); \ CPU_FLAG_UNSET(cpu,f_of);
| int32_t instr_group_3_f6_test | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
| int32_t instr_group_3_f7_test | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References emu_cpu_instruction::ea, emu_cpu_instruction::imm, emu_cpu_instruction::imm16, INSTR_CALC_AND_SET_FLAGS, MEM_DWORD_READ, MEM_WORD_READ, emu_cpu_instruction::mod, emu_cpu_instruction::modrm, PREFIX_OPSIZE, emu_cpu_instruction::prefixes, emu_cpu::reg, emu_cpu::reg16, and emu_cpu_instruction::rm.
Referenced by instr_group_3_f7().
| int32_t instr_test_84 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
| int32_t instr_test_85 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
| int32_t instr_test_a8 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References al, emu_cpu_instruction::imm8, INSTR_CALC_AND_SET_FLAGS, and emu_cpu::reg8.
| int32_t instr_test_a9 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
1.6.1