10-26-2011, 09:39 AM
Ugh.
Looks like my reference may be incorrect:
You're right. It looks like Zilog officially use SUB N - which is inconsistent with all their other instructions! How bizarre!
Looks like my reference may be incorrect:
Code:
SUB A,imm8
Operation Subtracts the immediate value from A.
Op Code 11010110 : [imm8]
Flags S Z H C are affected as defined
P/V detects overflow
N is set
T States 7
You're right. It looks like Zilog officially use SUB N - which is inconsistent with all their other instructions! How bizarre!