]>
git.bts.cx Git - sun.git/blob - runtime/src/sun/vm/instruction.c
1 #include <sun/vm/instruction.h>
5 static_assert(sizeof(SVMInstruction
) == sizeof(SVMOpcode
) + sizeof(SVMOperand
) * 3, "invalid size");
6 static_assert(sizeof(SVMOperand
) == sizeof(uint32_t), "raw will not work...");
8 const char *svmOpcodeToString(SVMOpcode opcode
) {
11 case SVMOpcodeInvalid
:
83 case SVMOpcodePOPJUMP
:
89 case SVMOpcodePUSHJUMP
: