PDA

View Full Version : Using ctra_ syntax



royalty
03-28-2012, 10:11 PM
Using the following:
ctra_ long %01010 << 26 + 7
I understand the mode assignment but do not understand the shift right 26 + 7 part. If it is the apin assignment what does the 26 signify.
Thanks

Phil Pilgrim (PhiPi)
03-28-2012, 10:18 PM
The shift has higher precedence than addition, so %01010 get shifted left by 26 bits into position for the mode. After that, the 7 is added to the APIN field.

-Phil

royalty
03-29-2012, 10:26 PM
Thanks for the speedy reply.