>from help line
>Is there support for or a way use unsigned 32 bit integers ? I want
to be able to make the MSB be logic 1 and then shift that bit right
and have that value be interpretted as straight unsigned binary.
The philosophy of ARMbasic is to keep it simple so integers are all
signed. A simple loop to shift from the msb would be-
X = $8000000
' do something with X
X = X>>1 and $7FFFFFFF
WHILEs are more efficient than FOR, and the and 0x7FFFFFFF is only 2
instructions (30 nsec).
Questions about the BASICtools and MakeItC
1 post • Page 1 of 1