Description: case statement equivalent
Stack
Example
Java---------------------
switch ( n )
{
case 1 : return a;
case 2 : return b;
default : return c;
}
Jasm-------------------
lookupswitch
1 : label1 ;jumps to label with instructions to return a
2 : label2 ;jumps to label with instructions to return b
default : defaultLabel ;jumps to default instructions
Back to
Opcodes indexed by function.
Opcodes indexed by number.
|