by aftbit · 11y ago · 0 comments
case JMP: {
ip = program[ip + 1] - 1;
break;
}My VM was very simple, and I've not touched it for a while, but the whole thought of how to handle branching was what made it more interesting than other similar toy systems.