The available operators and their meanings are: x or X multiplication / division + addition - subtraction % modulo (remainder) & bitwise AND | bitwise OR ^ bitwise exclusive OR The ‘X’ is used for multiplication because the ‘*’ character is expanded out into the names of all the files on your disk before the command line is processed! You can however use the * symbol, provided you escape it with "*". Examples: EXPR .100 x .200 ;Calculate decimal 100*200 EXPR %1101 | %10000 ;Set a bit EXPR .12345 / .63 ;How many 63’s in 12345? EXPR .12345 % .63 ;With how many remainder? EXPR .195 x .63 + .60 ;Check it.
Printing the ASCII character set ASCII [d | h | D | H] This command produces a printout of a table of 128 ASCII characters. The command ‘ASCII h’ results in a hexadecimal-ASCII table, while the ‘ASCII d’ command gives a decimal ASCII table of the first 128 characters. Using upper case parameters, as in ‘ASCII H’, or ‘ASCII D’, produces a table of the second 128 (mostly graphics) characters. Timing a command TIME command Putting the command ‘TIME’ at the start of any 1616/OS inbuilt or transient com- mand causes the command to be executed in the normal manner, after which the elapsed time is displayed in minutes and seconds.
For example, TIME ssasm /f0/srce/myfile causes /f0/srce/myfile.s to be assembled, after which the assembly time is dis- played. Defining function keys FKEY n1 string1 Page 92 User Tutorial Manual 1616/OS Commands