Each opcode has pointer to 7 opcode handling functions, and a value which defines amount of operands, and way the VM handles those 7 functions.
For example generic math opcodes will have functions for all of the types that VM works with (so they can operate on all of those types). This is a draft

Recent comments