10
20
30
40 :
50
60 DEFFNshr(A%)=((A%/2)-(A%AND-(A%<0)))AND&7FFFFFFF
70 :
80
90 DEFFNshl(A%)=((A%AND&3FFFFFFF)*2)OR(((A%AND&40000000)>0)AND&80000000)
100 :
110
120 DEFFNror(A%)=((A%/2)-(A%AND-(A%<0))AND&7FFFFFFF)OR(((A%AND1)>0)AND&80000000)
130 :
140
150 DEFFNrol(A%)=((A%AND&3FFFFFFF)*2)OR(((A%AND&40000000)<>0)AND&80000000)OR-(A%<0)
160 :
170
180 DEFFNsra(A%)=(A%/2)-(A%AND-(A%<0))
190 :