weisJ / Mima

Run Mima Code from a desktop UI
http://gbi.ira.uka.de/
MIT License
9 stars 0 forks source link

Support for MimaX #1

Closed weisJ closed 6 years ago

weisJ commented 6 years ago

Support for MimaX instructions:

CALL

— IAR->RA and address -> IAR POP — RA->IAR

LDSP — SP->akku STSP — Akku->SP

LDVR disp(SP) — <SP + disp> -> akku STVR disp(SP) — akku -> <SP + disp>

ADD c — akku + c -> akku

weisJ commented 6 years ago

RA should use a stack for nested calls

weisJ commented 6 years ago

MimaX files should use the .mimax file extension. And the interpreter should distinguish between .mima and .mimax files