View Full Version : Using ctra_ syntax

03-28-2012, 09: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.

Phil Pilgrim (PhiPi)
03-28-2012, 09: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.


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