diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compilo.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compilo.c b/src/compilo.c index 5f02e65..ccacb32 100644 --- a/src/compilo.c +++ b/src/compilo.c @@ -45,7 +45,13 @@ int main(void) { fprintf(stderr, _("\nPerforming initialisation...\n\n")); init_all(); - parse_line("MOV R12, R31"); + parse_line("MoV R12, R31 ; petit test."); + asm_eol(); + + parse_line("MOV R12, Label[R23]"); + asm_eol(); + + parse_line("MOV R31, [Label + 12 + R12]"); asm_eol(); fprintf(stderr, _("\nPerforming shutdown...\n\n")); |