Exercise 7 Name __________________
Score __/18
Give the IR for the following:
- (2) 3 * 5 - 4
- (3) a = 3, assume a is in frame at offset 5 and TEMP(fp)
is the frame pointer value.
- (3) a = b, assume a and b are in frame at offset 5 and 7
respectively and TEMP(fp) is the frame pointer value.
- (4) 4 < 5
- (6) while ( a < b )
a = b