Closed weisJ closed 6 years ago
Support for MimaX instructions:
CALL
LDSP — SP->akku STSP — Akku->SP
LDVR disp(SP) — <SP + disp> -> akku STVR disp(SP) — akku -> <SP + disp>
ADD c — akku + c -> akku
RA should use a stack for nested calls
MimaX files should use the .mimax file extension. And the interpreter should distinguish between .mima and .mimax files
Support for MimaX instructions:
CALL
— IAR->RA and address -> IAR POP — RA->IARLDSP — SP->akku STSP — Akku->SP
LDVR disp(SP) — <SP + disp> -> akku STVR disp(SP) — akku -> <SP + disp>
ADD c — akku + c -> akku