Operation:
If Dn < 0 or Dn > Source then TRAP
Assembler Syntax:
CHK <ea>, Dn
Attributes: Size = (Word, Long)
Description: Compares the value in the data register specified
in the instruction to zero and to the upper bound (effective
address operand). The upper bound is a twos complement
integer. If the register value is less than zero or greater
than the upper bound, a CHK instruction exception, vector
number 6, occurs.
Condition Codes:
X Not affected.
N Set if Dn < 0; cleared if Dn > effective address operand.
Undefined otherwise.
Z Undefined.
V Undefined.
C Undefined.
Instruction Format: