aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index f15af79..7825d08 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,7 +18,7 @@ int main(int argc, char** argv)
if (result == PARSE_ERROR)
return 1;
- if (args.target == ASSEMBLER_MASM)
+ if (args.target == TARGET_MASM)
{
report_error_message("the masm target is not implemented yet");
return 1;
@@ -62,8 +62,10 @@ int main(int argc, char** argv)
}
}
- if (args.target == ASSEMBLER_FASM)
+ if (args.target == TARGET_FASM)
generate_fasm(&program, out);
+ else if (args.target == TARGET_ARM64)
+ generate_aarch64(&program, out);
else
generate_nasm(&program, out);