1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-02 20:41:33 +00:00
mre-mos6502/src
omarandlorraine aa1a47a76f
Fix addition and subtraction (#72)
* extract decimal logic into separate function

* squash me

* I think we should be doing unsigned arithmetic here

* squash me

* remove unused function

* update the sign checks

* cargo fmt

* get tests to compile again

* get tests passing again

* squash me

* remove pointless conversion from u8 to u8

* cargo fmt

* accumulator is now u8

* add adc test from solid65

* pass the new test

---------

Co-authored-by: Sam M W <you@example.com>
2023-06-29 12:13:49 +02:00
..
cpu.rs Fix addition and subtraction (#72) 2023-06-29 12:13:49 +02:00
instruction.rs remove now dead code 2023-04-03 07:39:30 +01:00
lib.rs remove last of Address and AddressDiff 2022-10-18 10:10:38 +01:00
memory.rs the get_byte method needs to take mutable reference to self 2023-04-03 22:46:46 +01:00
registers.rs Fix addition and subtraction (#72) 2023-06-29 12:13:49 +02:00