M->OP
[ScratchNES.git] / src / CPU / instructions / ADC
1 R,N,Z
2 set tmp to (join "0x" (A)) + (join "0x" (OP)) + 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.057612 seconds and 4 git commands to generate.