forked from digarok/gsplus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
116 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
GS+ Pro Extreme Max HD Performance Edition includes a sweet-16 mini assembler as well as a 65816 mini assembler. | ||
|
||
## Sweet-16 | ||
From the Debug shell, enter `!!` to enter the sweet-16 mini asembler. | ||
|
||
Enter `^D` or a blank line to exit back to the debug shell. | ||
|
||
Lines consist of an optional address, an opcode, and operands. | ||
|
||
All numbers are hexadecimal. | ||
The `*` operand is the current address/PC. +/- offsets may also be applied. | ||
|
||
Registers are named `R0`-`R15` (decimal). `ACC`, `PC` and `SR` aliases are also valid for `R0`, `R15`, and `R14`, respectively. | ||
|
||
### Examples | ||
|
||
0300: set R1, #0300 | ||
ld @R1 | ||
br *-3 | ||
|
||
## 65816 | ||
From the Debug shell, enter `!` to enter the sweet-16 mini asembler. | ||
|
||
Enter `^D` or a blank line to exit back to the debug shell. | ||
|
||
Lines consist of an optional address, an opcode, and operands. | ||
|
||
All numbers are hexadecimal. | ||
The `*` operand is the current address/PC. +/- offsets may also be applied. | ||
|
||
The M/X bits are automatically set via `REP`/`SEP` instructions. Additionally, the `long` and `short` directives | ||
may be used to set them explicitly. | ||
|
||
long mx | ||
short m | ||
|
||
Toolbox, GS/OS, ProDOS-16, and P8 MLI macros are auto generated from the NiftyList.Data file. | ||
|
||
_NewHandle | ||
_OpenGS 123456 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters