...
- Symbol (s-field) is a 9-bit literal whose value is the address to jump to. This field must contain a DAT symbol specified as a literal (#symbol) and the corresponding code should eventually execute a RET instruction labeled with the same symbol plus a suffix of "_ret" (Symbol_ret RET).
Opcode Table:
–INSTR– ZCRI –CON– –DEST– –SRC– | Z Result | C Result | Result | Clocks |
010111 0011 1111 ????????? sssssssss | Result = 0 | unsigned carry | Written | 4 |
Concise Truth Table:
In | Out | ||||||
Destination | Source | Z | C | Effects | Destination1 | Z2 | C3 |
$----_----; - | $----_----; - | - | - | wz wc | 31:9 unchanged, 8:0 = PC+1 | 0 | 0 |
...
The diagram below uses a short program example to demonstrate the CALL instruction's run-time behavior; the store operation (left) and the jump-execute-return operation (right).
Run-Time Call Procedure
Store operation | Jump, execute and return operation |
---|---|
In this example, the following occurs when the CALL instruction is reached at run time:
...