What does FJUMP mean in this context?
The following is a Three Address Code (TAC) Intermediate Representation for a register machine: it contains a function called
foo
, which takes an integer parametern
and a parametera
which is an array of integers. Write down the high-level language counterpart in Java-like pseudocode.label Foo: res = 1 i = 1 label BAR: t1 = i LEQ n a[1] = res i = i ADD 1 res = res MUL i JUMP BAR label BAZ:
I thought a jump instruction in three address code is something like "if x goto L"?