From eb0fe0bc98bf15d5a21d3664b04068cac13e33aa Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Sat, 14 Apr 2018 09:02:26 -0700 Subject: [PATCH] Updated PLASMA Byte Codes (markdown) --- PLASMA-Byte-Codes.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PLASMA-Byte-Codes.md b/PLASMA-Byte-Codes.md index 76dac30..79026b8 100644 --- a/PLASMA-Byte-Codes.md +++ b/PLASMA-Byte-Codes.md @@ -88,4 +88,8 @@ NOS: Next On Stack value (TOS-1) | $BA | IDXLW | INDeX word by Local Word | TOS + FP[LOCAL] * 2 ==> TOS | $BC | IDXAB | INDeX word by Absolute Byte | TOS + MEM[ADDR] * 2 ==> TOS | $BE | IDXAW | INDeX word by Absolute Word | TOS + MEM[ADDR] * 2 ==> TOS -| $C0 | NATV | back to in-line NATiVe code | JUMP (IP) \ No newline at end of file +| $C0 | NATV | back to in-line NATiVe code | JUMP (IP) + +Bytecode interpreters: [6502](https://github.com/dschmenk/PLASMA/blob/master/src/vmsrc/apple/plvm02.s), [65802](https://github.com/dschmenk/PLASMA/blob/master/src/vmsrc/apple/plvm802.s) + +Bytecode compilers: [6502](https://github.com/dschmenk/PLASMA/blob/master/src/libsrc/jitcore.pla), [65802](https://github.com/dschmenk/PLASMA/blob/master/src/libsrc/jit16core.pla) \ No newline at end of file