Hacker News new | ask | show | jobs
by kazinator 2930 days ago
> FOLLOWING CODE MUST BE CONTAINED ON A SINGLE PAGE!

(Page == 256 byte block). Because the op dispatch table stores only the low-order byte of the opcode address; the high order byte is fixed in the interpreter. I think the last function could spill past the end of the page; its starting address just has to be in the page.