diff options
author | Pixel <> | 2001-04-13 12:03:09 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-13 12:03:09 +0000 |
commit | a984cf3f28d3a5935c84f96f6da3bc7bd39a9ff1 (patch) | |
tree | cf0157e6e7f9df0f6025b1191d5f6be17b9b057d /src | |
parent | 905814760584d843409763d9f3c24b73b0780444 (diff) |
Assembleur.
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")); |