Special operators may be used to reduce expressions in PATCH commands.
The special operators are presented in two tables. One for Arithmetic
expressions and the second for Addressing.
Note: PATCH normally evaluates expressions from right to left.
No arithmetic prececedence is performed.
Special operators for ARITHMETIC expressions:
Operator Name Function
+ Addition Addition operator in arithmetic
expressions or unary plus sign
- Subtraction Subtraction operator in arithmetic
expressions or unary minus sign.
* Multiplication Multiplication operator in arithmetic
expressions.
/ Division Division operator in arithmetic
expressions.
@ Shift Shift operator in arithmetic
expressions.
< > Precedence Precedence operator in arithmetic
expressions or Bit field delimeters
for the EVALUATE command.
^ Radix Radix operator for, Hexadecimal,
Decimal, Octal, or Binary notation.
Special operators for ADDRESSING:
Operator Name Function
. Current location Address of the current location.
^ Previous location Address of the previous location.
: Range operator Range operator for the CHECK ECO,
CHECK NOT ECO, EVALUATE, and
EXAMINE commands.
\ Indirection operator Displays either the contents of the
value stored in an address specified
in the previous EXAMINE command.