summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoramlal <amlal.elmahrouss@icloud.com>2024-03-16 22:03:16 +0100
committeramlal <amlal.elmahrouss@icloud.com>2024-03-16 22:03:16 +0100
commit1b8cb226ec4e7a935deef4187dab8f3f0ce8a27b (patch)
tree9929362c949ed5a45c26dd975c5395ffc2a1c4e1
parente190c1a5f0864606d753bb22bf20c8aa40d99cce (diff)
HCR-24: Replace previous assembler prefix. (! -> @)
Signed-off-by: amlal <amlal.elmahrouss@icloud.com>
-rw-r--r--Private/Toolchain/bin/Source/amd64_to_ae.s4
-rw-r--r--Private/Toolchain/ccplus.cc2
-rw-r--r--Private/Toolchain/i64asm.cc2
-rw-r--r--Private/Toolchain/makefile6
4 files changed, 7 insertions, 7 deletions
diff --git a/Private/Toolchain/bin/Source/amd64_to_ae.s b/Private/Toolchain/bin/Source/amd64_to_ae.s
index 7e89708..a819333 100644
--- a/Private/Toolchain/bin/Source/amd64_to_ae.s
+++ b/Private/Toolchain/bin/Source/amd64_to_ae.s
@@ -1,5 +1,5 @@
-!bits 64
-!org 0x1000
+@bits 64
+@org 0x1000
export .text main
mov rcx, r8
diff --git a/Private/Toolchain/ccplus.cc b/Private/Toolchain/ccplus.cc
index b25b844..a4f9a07 100644
--- a/Private/Toolchain/ccplus.cc
+++ b/Private/Toolchain/ccplus.cc
@@ -275,7 +275,7 @@ class AssemblyMountpointClang final : public CompilerKit::AssemblyMountpoint {
(*kState.fOutputAssembly)
<< "# Language: AMD64 HCore Assembly (Generated from C++)\n";
(*kState.fOutputAssembly) << "# Build Date: " << fmt << "\n\n";
- (*kState.fOutputAssembly) << "!bits 64 " << "\n\n";
+ (*kState.fOutputAssembly) << "@bits 64 " << "\n\n";
ParserKit::SyntaxLeafList syntax;
diff --git a/Private/Toolchain/i64asm.cc b/Private/Toolchain/i64asm.cc
index 5c7e3a1..40dc630 100644
--- a/Private/Toolchain/i64asm.cc
+++ b/Private/Toolchain/i64asm.cc
@@ -21,7 +21,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
#define __ASM_NEED_AMD64__ 1
-#define kAssemblerPragmaSym '!'
+#define kAssemblerPragmaSym '@'
extern "C" {
#include <stdlib.h>
diff --git a/Private/Toolchain/makefile b/Private/Toolchain/makefile
index f74cae4..e48e496 100644
--- a/Private/Toolchain/makefile
+++ b/Private/Toolchain/makefile
@@ -63,9 +63,9 @@ link:
.PHONY: help
help:
- @echo "cl - Mahrouss C compiler and Assemblers."
- @echo "pp - Mahrouss Preprocessors."
- @echo "link - Mahrouss Linkers."
+ @echo "cl - Mahrouss Compilers."
+ @echo "pp - Mahrouss Preprocessors."
+ @echo "link - Mahrouss Linkers."
.PHONY: clean
clean: