The bytecode format is inspired by lua, where instead of using registers, data is pushed/poped to/from a stack. This reduces the size of instructions and make the code cleaner and easier to use.