#include <stdint.h>#include "emu/emu_cpu.h"#include "emu/emu_cpu_data.h"#include "emu/emu_memory.h"
Defines | |
| #define | INSTR_CALC_AND_SET_FLAGS(bits, cpu, a, b, c, operation) |
| #define | TRACK_INIT_ALL_FLAGS(instruction_p) |
Functions | |
| int32_t | instr_xor_30 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_xor_31 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_xor_32 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_xor_33 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_xor_34 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_xor_35 (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_group_1_80_xor (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_group_1_81_xor (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| int32_t | instr_group_1_83_xor (struct emu_cpu *c, struct emu_cpu_instruction *i) |
| #define INSTR_CALC_AND_SET_FLAGS | ( | bits, | |||
| cpu, | |||||
| a, | |||||
| b, | |||||
| c, | |||||
| operation | ) |
INSTR_CALC(bits, a, b, c, operation) \ CPU_FLAG_UNSET(cpu, f_of); \ CPU_FLAG_UNSET(cpu, f_cf); \ INSTR_SET_FLAG_ZF(cpu) \ INSTR_SET_FLAG_PF(cpu) \ INSTR_SET_FLAG_SF(cpu)
| #define TRACK_INIT_ALL_FLAGS | ( | instruction_p | ) |
TRACK_INIT_EFLAG(instruction_p, f_of); \ TRACK_INIT_EFLAG(instruction_p, f_cf); \ TRACK_INIT_EFLAG(instruction_p, f_zf); \ TRACK_INIT_EFLAG(instruction_p, f_pf); \ TRACK_INIT_EFLAG(instruction_p, f_sf);
| int32_t instr_group_1_80_xor | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References emu_cpu_instruction::ea, emu_cpu_instruction::imm8, emu_cpu::instr, INSTR_CALC_AND_SET_FLAGS, MEM_BYTE_READ, MEM_BYTE_WRITE, emu_cpu_instruction::mod, emu_cpu_instruction::modrm, emu_cpu::reg8, emu_cpu_instruction::rm, TRACK_INIT_ALL_FLAGS, TRACK_INIT_REG8, and TRACK_NEED_REG8.
Referenced by instr_group_1_80().
| int32_t instr_group_1_81_xor | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References emu_cpu_instruction::ea, emu_cpu_instruction::imm, emu_cpu_instruction::imm16, emu_cpu::instr, INSTR_CALC_AND_SET_FLAGS, MEM_DWORD_READ, MEM_DWORD_WRITE, MEM_WORD_READ, MEM_WORD_WRITE, emu_cpu_instruction::mod, emu_cpu_instruction::modrm, PREFIX_OPSIZE, emu_cpu_instruction::prefixes, emu_cpu::reg, emu_cpu::reg16, emu_cpu_instruction::rm, TRACK_INIT_ALL_FLAGS, TRACK_INIT_REG16, TRACK_INIT_REG32, TRACK_NEED_REG16, and TRACK_NEED_REG32.
Referenced by instr_group_1_81().
| int32_t instr_group_1_83_xor | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References emu_cpu_instruction::ea, emu_cpu_instruction::imm8, emu_cpu::instr, INSTR_CALC_AND_SET_FLAGS, MEM_DWORD_READ, MEM_DWORD_WRITE, MEM_WORD_READ, MEM_WORD_WRITE, emu_cpu_instruction::mod, emu_cpu_instruction::modrm, PREFIX_OPSIZE, emu_cpu_instruction::prefixes, emu_cpu::reg, emu_cpu::reg16, emu_cpu_instruction::rm, TRACK_INIT_ALL_FLAGS, TRACK_INIT_REG16, TRACK_INIT_REG32, TRACK_NEED_REG16, and TRACK_NEED_REG32.
Referenced by instr_group_1_83().
| int32_t instr_xor_30 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
| int32_t instr_xor_31 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References emu_cpu_instruction::ea, emu_cpu::instr, INSTR_CALC_AND_SET_FLAGS, MEM_DWORD_READ, MEM_DWORD_WRITE, MEM_WORD_READ, MEM_WORD_WRITE, emu_cpu_instruction::mod, emu_cpu_instruction::modrm, emu_cpu_instruction::opc, PREFIX_OPSIZE, emu_cpu_instruction::prefixes, emu_cpu::reg, emu_cpu::reg16, emu_cpu_instruction::rm, TRACK_INIT_ALL_FLAGS, TRACK_INIT_REG16, TRACK_INIT_REG32, TRACK_NEED_REG16, and TRACK_NEED_REG32.
| int32_t instr_xor_32 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
| int32_t instr_xor_33 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
References emu_cpu_instruction::ea, emu_cpu::instr, INSTR_CALC_AND_SET_FLAGS, MEM_DWORD_READ, MEM_WORD_READ, emu_cpu_instruction::mod, emu_cpu_instruction::modrm, emu_cpu_instruction::opc, PREFIX_OPSIZE, emu_cpu_instruction::prefixes, emu_cpu::reg, emu_cpu::reg16, emu_cpu_instruction::rm, TRACK_INIT_ALL_FLAGS, TRACK_INIT_REG16, TRACK_INIT_REG32, and TRACK_NEED_REG16.
| int32_t instr_xor_34 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
| int32_t instr_xor_35 | ( | struct emu_cpu * | c, | |
| struct emu_cpu_instruction * | i | |||
| ) |
1.6.1