From bf157cf09b8b0888c54a165b887309a4e801f608 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 10 Sep 2026 04:42:33 +0200 Subject: feat: add aarch64 as target --- src/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main.c') 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); -- cgit v1.3