LARA

JVM Instructions for Branching

See table of JVM instructions

Unconditional jumps: goto

Conditional branch on comparison to zero:

There are also conditional branches for comparison of two operands:

for different 'OP'

We examine next: how to use these instructions to compile

  • control-flow operations
  • later, boolean expressions