Differences from PBASIC
 
Although ARMbasic has an extremely similar syntax to PBASIC, there are subtle differences, so some legacy code may not compile right away.

32-bits vs. 16-bits

Changed due to ambiguity

Design differences

                 x = NOT (a AND b)        ' equivalent to a &\ b

                 x = a * b >> 16         ' equivalent to a ** b (for 16 bit values)

                 x = a * b >> 8           ' equivalent to a */ b (for 16 bit values)

                 x = y /1000 mod 10   ' equivalent to y DIG 4

                 x = 1<<6                  ' equivalent to DCD 6

Design simplifications
 
 

Archaic commands