Galil DMC-1400 Tablet Accessory User Manual


 
DMC-1400 Series Command Reference $ 5
$
FUNCTION: Hexadecimal
DESCRIPTION:
The $ operator denotes that the following string is in hexadecimal notation
ARGUMENTS: $nnnnnnnn.mmmm
n is up to eight hexadecimal digits (denoting 32 bits of integer)
m is up to four hexadecimal digits (denoting 16 bits of fraction)
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage
ALL
RELATED COMMANDS:
* Multiply (shift left)
/ Divide (shift right)
MG {$8.4} Print in hexadecimal
EXAMPLES:
x = $7fffffff.0000 ;’store 2147483647 in x
y = x & $0000ffff.0000 ;’store lower 16 bits of x in y
z = x & $ffff0000.0000 / $10000 ;’store upper 16 bits of x in z