1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-08-14 18:27:25 +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

View File

@@ -509,6 +509,10 @@ void call(uword pc)
mem_data[0x1FF] = i; mem_data[0x1FF] = i;
PUSH(0x1FF); PUSH(0x1FF);
break; break;
case 10: // LIBRARY STDLIB::PUTH
i = UPOP;
printf("%04X", i);
break;
case 24: // LIBRARY CMDSYS::DIVMOD case 24: // LIBRARY CMDSYS::DIVMOD
a = POP; a = POP;
b = POP; b = POP;