summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-05-04 22:36:44 +0200
committerAmlal <amlal@nekernel.org>2025-05-04 22:36:44 +0200
commitdf8979d962f74ba8a30fcd4d72ba5652ceb73dfd (patch)
treefdf34b0373c45b267a5e4e02a67fe7bbca3719a9 /dev/LibCompiler
parent352fbc89ec1323ef92db81dd52175ac086352cfa (diff)
feat(64x0): update flag prefix for 64x0 assembler.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler')
-rw-r--r--dev/LibCompiler/src/Assembler64x0.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/LibCompiler/src/Assembler64x0.cc b/dev/LibCompiler/src/Assembler64x0.cc
index e1fa1b5..8483e9e 100644
--- a/dev/LibCompiler/src/Assembler64x0.cc
+++ b/dev/LibCompiler/src/Assembler64x0.cc
@@ -71,12 +71,12 @@ LIBCOMPILER_MODULE(AssemblerMain64x0) {
for (size_t i = 1; i < argc; ++i) {
if (argv[i][0] == '-') {
- if (strcmp(argv[i], "--ver") == 0 || strcmp(argv[i], "--v") == 0) {
+ if (strcmp(argv[i], "-64x0-ver") == 0 || strcmp(argv[i], "-64x0-v") == 0) {
kStdOut
<< "Assembler64x0: 64x0 Assembler.\nAssembler64x0: v1.10\nAssembler64x0: Copyright (c) "
"Amlal El Mahrouss\n";
return 0;
- } else if (strcmp(argv[i], "--h") == 0) {
+ } else if (strcmp(argv[i], "-64x0-h") == 0) {
kStdOut << "Assembler64x0: 64x0 Assembler.\nAssembler64x0: Copyright (c) 2024 Mahrouss "
"Logic.\n";
kStdOut << "--version: Print program version.\n";
@@ -85,10 +85,10 @@ LIBCOMPILER_MODULE(AssemblerMain64x0) {
kStdOut << "--64xxx: Compile for a subset of the X64000.\n";
return 0;
- } else if (strcmp(argv[i], "--binary") == 0) {
+ } else if (strcmp(argv[i], "-64x0-binary") == 0) {
kOutputAsBinary = true;
continue;
- } else if (strcmp(argv[i], "--verbose") == 0) {
+ } else if (strcmp(argv[i], "-64x0-verbose") == 0) {
kVerbose = true;
continue;
}