You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,13 @@ Please refer to the CMake documentation for further information.
105
105
106
106
# 3. Overview
107
107
108
-
The assembler includes full support for the MIPS R3000, MIPS R4000, Allegrex and RSP instruction sets, partial support for the EmotionEngine instruction set, as well as complete support for the ARM7 and ARM9 instruction sets, both THUMB and ARM mode. Among the other features of the assembler are:
108
+
The assembler supports the following architectures:
109
+
110
+
* The full MIPS R3000, MIPS R4000, Allegrex and RSP instruction sets, with partial support for the EmotionEngine instruction set.
111
+
* The full ARM7 and ARM9 instruction sets, both THUMB and ARM mode.
112
+
* The full Z80 and LR35902 instruction sets, as well as Nintendo e-Reader instructions.
113
+
114
+
Among the other features of the assembler are:
109
115
110
116
* a full fledged C-like expression parser. It should behave exactly like in any C/C++ code, including all the weirdness. All immediate values can be specified by an expression, though some directives can't use variable addresses including labels
111
117
* you can open several files in a row, but only one output file can be open at any time. You can specify its address in memory to allow overlay support. Any file can cross-reference any other included file
@@ -458,8 +464,11 @@ These directives can be used to set the architecture that the following assembly
458
464
|`.gba`| Game Boy Advance | ARM7 | Defaults to THUMB mode |
459
465
|`.nds`| Nintendo DS | ARM9 | Defaults to ARM mode |
460
466
|`.3ds`| Nintendo 3DS | ARM11 | Defaults to ARM mode, incomplete |
467
+
|`.gb`| Game Boy (Color) | LR35902 | - |
468
+
|`.ereader`| Nintendo e-Reader | e-Reader Z80 | - |
461
469
|`.arm.big`| - | ARM | Output in big endian |
462
470
|`.arm.little`| - | ARM | Output in little endian |
471
+
|`.z80`| - | Z80 | - |
463
472
464
473
### Open a generic file
465
474
@@ -1115,6 +1124,7 @@ will align the memory address to a multiple of 4, then create a label named `Mai
1115
1124
## 7.1 Change log
1116
1125
1117
1126
* Version 0.11
1127
+
* added support for Z80, LR35902 (Game Boy) and Nintendo e-Reader Z80
1118
1128
* new `.aligna` directive for absolute address alignment
1119
1129
* new expression functions: `org(label)`, `orga(label)`, `headersize(label)`
0 commit comments