Code: Select all
printf("%u\n\n\n",(3967115105 << 28) | (3967115105 >> 4) )
When i try whit PB, i have this :
Code: Select all
Debug (3967115105 << 28) | (3967115105 >> 4)
I try stru, strd strf, but the result is always false.
Code: Select all
printf("%u\n\n\n",(3967115105 << 28) | (3967115105 >> 4) )
Code: Select all
Debug (3967115105 << 28) | (3967115105 >> 4)
Code: Select all
Debug ((3967115105 << 28) | (3967115105 >> 4)) & $FFFFFFFF ; Displays 516380150
Code: Select all
EnableExplicit
Define.q q = (3967115105 << 28) | (3967115105 >> 4)
Define.l l = q
Debug q
Debug l
l = ((3967115105 << 28) | (3967115105 >> 4)) ;OVERFLOW; & $FFFFFFFF
;[11:35:02] [COMPILER] Line 5: Overflow error: a 'long' value (.l) must be between -2147483648 And +4294967295.
Code: Select all
l.l = 3967115105
EnableASM
ror l, 4
DisableASM
Debug l