Zesty - a pin-accurate, cycle-accurate NES emulator written in Zig

cpu: add stack operations #2

merged opened by pluie.me targeting main from pluie/jj-tpnmozqyuktv
Labels

None yet.

Participants 1
AT URI
at://did:plc:e4f33w5yt2m54tq6vsagpwiu/sh.tangled.repo.pull/3lyo7elked222
+1 -1
Interdiff #0 #1
src/Cpu.zig

This patch was likely rebased, as context lines do not match.

src/tests/cpu.zig

This file has not been changed.

src/tests/cpu/assembler.zig

This patch was likely rebased, as context lines do not match.

+1 -1
src/tests/cpu/stack.zig
··· 80 try std.testing.expect(z.cpu.status.irq_disabled); 81 82 try std.testing.expectEqual(0xfc, z.cpu.sp); 83 - cpu.runDebug(&z); // PLP 84 try std.testing.expectEqual(0xfd, z.cpu.sp); 85 86 try std.testing.expectEqual(0x800a, z.cpu.pc);
··· 80 try std.testing.expect(z.cpu.status.irq_disabled); 81 82 try std.testing.expectEqual(0xfc, z.cpu.sp); 83 + cpu.run(&z); // PLP 84 try std.testing.expectEqual(0xfd, z.cpu.sp); 85 86 try std.testing.expectEqual(0x800a, z.cpu.pc);

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
cpu: add stack operations
expand 0 comments
pull request successfully merged
pluie.me submitted #0
1 commit
expand
cpu: add stack operations
expand 0 comments