Pre set all bits
in Propeller 2
I am working on migrating some of my objects to spin2. I noticed that ~~ (pre) is no in spin2. I don't see anything that may have replaced it. Did i miss something or is it gone ?
Comments
Use X SIGNX 15 instead.
ZEROX var ZEROX= x 17 x ZEROX y 3 binary Zero-extend above bit y SIGNX var SIGNX= x 17 x SIGNX y 3 binary Sign-extend from bit y
But I guess I was wrong
Just having my morning coffee now!
2 ~~x Addr : 0018: 66 14 : Variable Operation Local Offset - 1 Assign ~~VAR Sign extend Word 3 x~~ Addr : 001A: 66 1C : Variable Operation Local Offset - 1 Assign VAR~~ Post-set Addr : 001C: 32 : Return