I would like to translate a plain Three Address Code file to Java Bytecode. There are some questions related to this topic already, but either they are not answered properly or the question goes way beyond what I'm looking for.
Take for instance this segment of code, generated with the front end of the compiler available in the "Dragon Book":
L1:L3: i = i + 1
L5: t1 = i * 8
t2 = a [ t1 ]
if t2 < v goto L3
L4: j = j - 1
How would it look like in bytecode? Do I need to reconstruct the symbol table to do the translation? It would be really helpful if someone could describe it like blackcompe did in this answer(I know JVM is a stack machine, not a register one).