@vanja Ah yes, ok. So you're planning to target uxn, have you written uxntal before?
Top-level
@vanja Ah yes, ok. So you're planning to target uxn, have you written uxntal before? 5 comments
@vanja okay perfect, each instruction is 1 byte long. I recommend that you pick a uxntal disassembler(Dexe, beetbug, etc..) and disassemble simple programs to see how they map to bytecode. But generally, there's a couple of immediate opcodes(LIT, JMI, JCI, JSI) where their value is found after the opcode, and the rest is all postfix. @neauoire what bits of each instruction signify the modifiers (2, keep mode, return mode), and which are the opcode itself? |
@neauoire yes, a bit.