1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-08 07:31:32 +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
commit d48ccdf979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);