e546d36e61c5af23c1fd926ce24e0ebdfb19a33b
[ScratchNES.git] / src / CPU / instructions / ADC
1 R,N,Z
2 set tmp to (join "0x" (A)) + (join "0x" (M)) + flagC
3 set A to item (tmp mod 256) of hex
4 set flagC to <tmp > 255>
5 set flagV to <tmp > 127 or tmp < -128>
This page took 0.059162 seconds and 3 git commands to generate.