diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-16 07:40:46 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-16 07:41:26 +0200 |
| commit | a656cb178c384bcb27b22fdc7ce1e10e49e8e5bd (patch) | |
| tree | 6359f393cf9eccea2a8ca6cf23fd367c6456764a | |
| parent | 90a28d26fd6037069495744a3a6a263ed1bede99 (diff) | |
meta: Add TODO.txt to keep track of what is needed.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | Documentation/TODO.txt | 10 | ||||
| -rw-r--r-- | Headers/Version.hxx | 2 | ||||
| -rw-r--r-- | Sources/bpp.cc | 1 | ||||
| -rw-r--r-- | Sources/ppc-cc.cc | 2 | ||||
| -rw-r--r-- | posix.make | 10 |
5 files changed, 18 insertions, 7 deletions
diff --git a/Documentation/TODO.txt b/Documentation/TODO.txt new file mode 100644 index 0000000..9c5214e --- /dev/null +++ b/Documentation/TODO.txt @@ -0,0 +1,10 @@ +- PowerPC assembler + - Add offsets support to instructions which loads data from memory, PowerPC is a load/store architecture like 64k, SPARC and so... + +- AMD64 assembler + - Add support 'mov' which encodes a,b,c,d,e and 8,15 registers. + +- C compilers + - Add structs/enums, and a preprocssing program. + +- Extended Syntax Checker (esc.exe -c-asm foo.s) diff --git a/Headers/Version.hxx b/Headers/Version.hxx index caa9cf2..377a688 100644 --- a/Headers/Version.hxx +++ b/Headers/Version.hxx @@ -1,3 +1,3 @@ #pragma once -#define kDistVersion "v1.01"
\ No newline at end of file +#define kDistVersion "v1.20" diff --git a/Sources/bpp.cc b/Sources/bpp.cc index 1bc235c..1e15366 100644 --- a/Sources/bpp.cc +++ b/Sources/bpp.cc @@ -253,6 +253,7 @@ void bpp_parse_file(std::ifstream &hdr_file, std::ofstream &pp_out) { try { while (std::getline(hdr_file, hdr_line)) { + /// BPP Documentation. if (hdr_line.find("@bdoc") != std::string::npos) { hdr_line.erase(hdr_line.find("@bdoc")); } diff --git a/Sources/ppc-cc.cc b/Sources/ppc-cc.cc index dc40383..4e2f162 100644 --- a/Sources/ppc-cc.cc +++ b/Sources/ppc-cc.cc @@ -8,7 +8,7 @@ */ /// BUGS: 0 -/// TODO: +/// TODO: Structs and enums. #include <Headers/AsmKit/CPU/ppc.hpp> #include <Headers/ParserKit.hpp> @@ -8,7 +8,7 @@ # COMMON_INC=-I./Headers -I./ -I./Sources/Detail -LINK_CC=g++ -std=c++20 -Xlinker -s +LINK_CC=g++ -std=c++20 LINK_SRC=Sources/link.cc LINK_OUTPUT=Output/link.exe LINK_ALT_OUTPUT=Output/64link.exe @@ -24,19 +24,19 @@ SRC_COMMON=Sources/String.cc Sources/AsmKit.cc 64X0_CC_SRC=Sources/64x0-cc.cc $(SRC_COMMON) 64X0_CC_OUTPUT=Output/64x0-cc.exe -# C Compiler +# C Compiler (Our own RISC) PPC_CC_SRC=Sources/ppc-cc.cc $(SRC_COMMON) PPC_CC_OUTPUT=Output/ppc-cc.exe -# 64x0 Assembler +# 64x0 Assembler (Our Own RISC) ASM_SRC=Sources/64asm.cc $(SRC_COMMON) ASM_OUTPUT=Output/64asm.exe -# AMD64 Assembler +# AMD64 Assembler (Intel CISC) IASM_SRC=Sources/i64asm.cc $(SRC_COMMON) IASM_OUTPUT=Output/i64asm.exe -# PowerPC Assembler +# Power4 Assembler (IBM RISC) PPCASM_SRC=Sources/ppcasm.cc $(SRC_COMMON) PPCASM_OUTPUT=Output/ppcasm.exe |
