retepsnikrep
Senior Member
I'm looking for a negate function, which I think is the same as NOT which doesn't seem to be supported in the mathematics commands?
So any ideas how to negate a hex value in b0?
I was thinking a loop looking at each bit and then flipping it but that seems long winded. I'm using an 18X at present.
I've just seen the NOT command is supported by the 28X2, hmm!
So any ideas how to negate a hex value in b0?
I was thinking a loop looking at each bit and then flipping it but that seems long winded. I'm using an 18X at present.
I've just seen the NOT command is supported by the 28X2, hmm!
Last edited: