Exercise 9 Name __________________ Score __/18
where the JUMP instruction goes to an address contained in a register.
Use these instructions to implement the following tree patterns:
JUMP
JUMP
CJUMP
|
|
/ | | | \
NAME
EQ T F
Assume that a CJUMP is always followed by its false label and the T and F label basic blocks. Show the best way to implement each pattern; in some cases you may need to use more than one instruction or make up a new temporary.