I have the following versions of negating some integer value (in R12) in assembly in msp430 :
inv R12
inc R12
this is according to the manual and I think this will work the same?
inv R12
add #1, R12
But will this work and why not? :
sub #1, R12
inv R12
Still new to this and thank you for any help!