] >
|
MEM
+-----+ +--------+---------+------+ | 5 | | SYMBOL | TYPE | ADDR | +->| -1 | +--------+---------+------+ | | - | | | | | | | - | | L1 | forward | | | +-----+ | | label | -----+ | | . | | | | | | | | . | | | | | | | | . | +--------+---------+------+ | | +-----+ | | | 6 | | +------ |<-+ | | - | | | | - | | | +-----+ | | | . | | | | . | | | | . | | | +-----+ | | | 7 | | +---->| ------+ | - | | - | +-----+ L1: | | | |
|
| Instruction | Interpretation
| |||
| 5 | OP1 | — | — | LC OP1 |
| 6 | OP1 | OP2 | — | if MEM[OP2+BR]=0 then LC OP1 |
| 7 | OP1 | OP2 | — | if MEM[OP2+BR]0 then LC OP1 |
The ‘op’ variable tells which MINI MACHINE branching instruction is to be used. The ‘temp’ variable represents the summary condition to be checked by the conditional branching instructions. For instance, in the case of the equality based L756 instruction
IF x = y THEN GOTO L
the temp variable is assigned the value
temp = y - x
and the MINI MACHINE instruction op = 6 checks the temp variable for a 0 value.