summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/src/Backend
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-17 11:00:30 +0100
committerGitHub <noreply@github.com>2025-11-17 11:00:30 +0100
commit2e9741a0af3ffcc613101b47ba39b883e26e39ea (patch)
tree73c05e9d2e51488d895e9d899eaf29640265e552 /dev/CompilerKit/src/Backend
parent215f6fc35253a2326888b49a618f5cb758813977 (diff)
parent0cca08fb5a26a9c50632d2a2a7cd49e8db55badc (diff)
Merge pull request #18 from nekernel-org/dev
version: v0.0.7
Diffstat (limited to 'dev/CompilerKit/src/Backend')
-rw-r--r--dev/CompilerKit/src/Backend/Assembler32x0.cc4
-rw-r--r--dev/CompilerKit/src/Backend/Assembler64x0.cc4
-rw-r--r--dev/CompilerKit/src/Backend/AssemblerAMD64.cc6
-rw-r--r--dev/CompilerKit/src/Backend/AssemblerARM64.cc4
-rw-r--r--dev/CompilerKit/src/Backend/AssemblerPowerPC.cc4
5 files changed, 11 insertions, 11 deletions
diff --git a/dev/CompilerKit/src/Backend/Assembler32x0.cc b/dev/CompilerKit/src/Backend/Assembler32x0.cc
index 5534f59..e85a510 100644
--- a/dev/CompilerKit/src/Backend/Assembler32x0.cc
+++ b/dev/CompilerKit/src/Backend/Assembler32x0.cc
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved
+ Copyright (C) 2024-2025 Amlal EL Mahrouss, Licensed under Apache 2.0
------------------------------------------- */
@@ -9,7 +9,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
// @file 32asm.cc
-// @author EL Mahrouss Amlal
+// @author El Mahrouss Amlal
// @brief 32x0 Assembler.
// REMINDER: when dealing with an undefined symbol use (string
diff --git a/dev/CompilerKit/src/Backend/Assembler64x0.cc b/dev/CompilerKit/src/Backend/Assembler64x0.cc
index 7aa991b..d0cf327 100644
--- a/dev/CompilerKit/src/Backend/Assembler64x0.cc
+++ b/dev/CompilerKit/src/Backend/Assembler64x0.cc
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved
+ Copyright (C) 2024-2025 Amlal EL Mahrouss, Licensed under Apache 2.0
------------------------------------------- */
@@ -9,7 +9,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
// @file Assembler64x0.cc
-// @author EL Mahrouss Amlal
+// @author El Mahrouss Amlal
// @brief 64x000 Assembler.
// REMINDER: when dealing with an undefined symbol use (string
diff --git a/dev/CompilerKit/src/Backend/AssemblerAMD64.cc b/dev/CompilerKit/src/Backend/AssemblerAMD64.cc
index 603b441..c684a07 100644
--- a/dev/CompilerKit/src/Backend/AssemblerAMD64.cc
+++ b/dev/CompilerKit/src/Backend/AssemblerAMD64.cc
@@ -1,13 +1,13 @@
/* -------------------------------------------
- Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved
+ Copyright (C) 2024-2025 Amlal EL Mahrouss, Licensed under Apache 2.0
------------------------------------------- */
/////////////////////////////////////////////////////////////////////////////////////////
/// @file AssemblerAMD64.cc
-/// @author EL Mahrouss Amlal
+/// @author El Mahrouss Amlal
/// @brief AMD64 Assembler.
/// REMINDER: when dealing with an undefined symbol use (string
/// size):LinkerFindSymbol:(string) so that ld will look for it.
@@ -965,7 +965,7 @@ bool CompilerKit::EncoderAMD64::WriteLine(std::string line, std::string file) {
{.fName = "si", .fModRM = 0x6}, {.fName = "di", .fModRM = 7},
};
- BOOL foundInstruction = false;
+ Bool foundInstruction = false;
for (auto& opcodeAMD64 : kOpcodesAMD64) {
// strict check here
diff --git a/dev/CompilerKit/src/Backend/AssemblerARM64.cc b/dev/CompilerKit/src/Backend/AssemblerARM64.cc
index fb03da8..0cb7540 100644
--- a/dev/CompilerKit/src/Backend/AssemblerARM64.cc
+++ b/dev/CompilerKit/src/Backend/AssemblerARM64.cc
@@ -1,13 +1,13 @@
/* -------------------------------------------
- Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved
+ Copyright (C) 2024-2025 Amlal EL Mahrouss, Licensed under Apache 2.0
------------------------------------------- */
/////////////////////////////////////////////////////////////////////////////////////////
/// @file AssemblerARM64.cc
-/// @author EL Mahrouss Amlal
+/// @author El Mahrouss Amlal
/// @brief 'ACORN' Assembler.
/// REMINDER: when dealing with an undefined symbol use (string
diff --git a/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc b/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc
index ffcc102..084e1fe 100644
--- a/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc
+++ b/dev/CompilerKit/src/Backend/AssemblerPowerPC.cc
@@ -1,13 +1,13 @@
/* -------------------------------------------
- Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved
+ Copyright (C) 2024-2025 Amlal EL Mahrouss, Licensed under Apache 2.0
------------------------------------------- */
/////////////////////////////////////////////////////////////////////////////////////////
/// @file AssemblerPower.cc
-/// @author EL Mahrouss Amlal
+/// @author El Mahrouss Amlal
/// @brief POWER Assembler.
/// REMINDER: when dealing with an undefined symbol use (string