Previous: Memory Access Instructions.
Up: Instruction Set
Next: Other Instructions.
Previous Page: Memory Access Instructions.
Next Page: Other Instructions.

Control Flow Instructions.

There are two different types of instructions to change the control flow. A conditional branch instruction:
if src2 then pc := src1 op imm
and a versatile call instruction:
dest := pc , pc := src1 op src2
Register 0 allows for the synthesis of all control flow instructions according to:

src1 must be either a register or the program counter itself for PC--relative branches. These two versatile instruction form a complete set for control flow handling. Additionally, a call instruction with an absolute address is supported. This is utilized by the code reorganizer [11], and fits very well into the instruction format: it is identical to that of SImmH.

ca@informatik.uni-kiel.de