1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-20 16:16:34 +00:00

Merge pull request #64 from ZornsLemma/plvm-putb

plvm putb support
This commit is contained in:
David Schmenk
2022-06-17 19:30:06 -07:00
committed by GitHub
+4
View File
@@ -509,6 +509,10 @@ void call(uword pc)
mem_data[0x1FF] = i;
PUSH(0x1FF);
break;
case 9: // LIBRARY STDLIB::PUTB
i = UPOP;
printf("%02X", i);
break;
case 10: // LIBRARY STDLIB::PUTH
i = UPOP;
printf("%04X", i);