chore(cpu): lay groundwork for THUMB instruction decoding and execution

This commit is contained in:
2022-01-14 05:23:16 -04:00
parent ae37b1218b
commit 0cf052838d
7 changed files with 55 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ const BarrelShifter = @import("barrel_shifter.zig");
const Bus = @import("../../Bus.zig");
const Arm7tdmi = @import("../../cpu.zig").Arm7tdmi;
const CPSR = @import("../../cpu.zig").PSR;
const InstrFn = @import("../../cpu.zig").InstrFn;
const InstrFn = @import("../../cpu.zig").ArmInstrFn;
pub fn singleDataTransfer(comptime I: bool, comptime P: bool, comptime U: bool, comptime B: bool, comptime W: bool, comptime L: bool) InstrFn {
return struct {