How would I go about changing the sign of a negative .BLOCK to positive in Pep8? And the other way around?
Thank you
How would I go about changing the sign of a negative .BLOCK to positive in Pep8? And the other way around?
Thank you
All you have to do is load 0 into the accumulator, and then subtract the number by that.
LDA 0,i
SUBA num1,d
STA num1