Control flow operators

This commit is contained in:
Volker Berlin 2017-03-24 22:40:10 +01:00
parent e9e7d1aecc
commit 1db20a66b6

View File

@ -23,8 +23,22 @@ package de.inetsoftware.jwebassembly.binary;
*/
interface InstructionOpcodes {
// === Control flow operators ====
static final int BLOCK = 0x02;
static final int LOOP = 0x03;
static final int IF = 0x04;
static final int ELSE = 0x05;
static final int END = 0x0B;
static final int RETURN = 0x0F;
// === Variable access ===========
static final int GET_LOCAL = 0x20;
static final int SET_LOCAL = 0x21;