2004-02-10 07:26 AM
Overflowing variable during operation
2004-02-10 04:21 AM
I have a signed 8 bit binary value... what happens if I add it to the acumulator and the value exceeds +127 or -128?
2004-02-10 07:26 AM
The N or H flag in the CC register would be set depending on negative/postive result. Z and C flags are also affected by an add instruction.
Have a look at the ST7 instruction help file for further details. Why not load the code into STVD7 and see the results. Regards sjo[ This message was edited by: sjo on 10-02-2004 20:57 ]