Рет қаралды 4,354
In this video i implement tests for ADC (Add with Carry) to get just the absolute addressing mode working. The rest of the addressing modes are going to be dealt with in the next video. Also, i'm not dealing with decimal mode here, just binary addition.
Links:
Source for this project: github.com/davepoo/6502Emulator
Google Test: github.com/google/googletest
6502 Information: www.obelisk.me.uk/6502/
Timestamps
0:00 Intro
0:42 0 + 0 test
3:57 0 + 0 implemented
7:00 Refactoring the test
14:35 0 + 0 + carry test
15:17 Adding the carry
16:09 Testing unsigned overflow
18:27 Setting the carry flag
20:46 Testing negative result
23:45 Setting the negative flag
24:23 Testing -ve signed overflow
28:50 Setting the overflow flag
33:17 Testing +ve signed overflow
36:58 Basic addition tests
44:44 Closing comments