1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-02-03 07:34:11 +00:00

Merge pull request #50 from iflan/master

Implement puth in plvm
This commit is contained in:
David Schmenk 2018-11-16 16:49:37 -08:00 committed by GitHub
commit 4b03b371b6
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 10: // LIBRARY STDLIB::PUTH
i = UPOP;
printf("%04X", i);
break;
case 24: // LIBRARY CMDSYS::DIVMOD
a = POP;
b = POP;