Skip to content

Commit

Permalink
mnemonic change
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkamprath committed May 11, 2024
1 parent 59e5b9a commit 7b8d794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/slu4-minimal-64x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The following instruction macros have been added in the ISA configuration file f
| `sqq` | zero page address | zero page address | Subtracts the first 4 byte long at a zero page address from the second and stores the result in the second zero page address. |
| `mqq` | zero page address | zero page address | Copies a 4 byte long at the first zero page address to the 4 bytes at the second zero page address |
| `mll` | abs address | abs address | Copies a 4 byte long at the first absolute address to the 4 bytes at the second absolute address |
| `miq` | immediate | zero page address | Copies an immediate 4-byte long to a zero page long |
| `m4iq` | immediate | zero page address | Copies an immediate 4-byte long to a zero page long |

### Assembly Syntax
**BespokeASM**'s syntax is close to the syntax that Carsten used for the Minimal 64x4's assembly language. However, there are some differences:
Expand Down
2 changes: 1 addition & 1 deletion examples/slu4-minimal-64x4/software/primes.min64x4
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _n_value: .zero 4
.org 0 "USER_APPS"
start:
; init N-value to 1
miq 1,_n_value+0
m4iq 1,_n_value+0
.n_loop:
phsi 0
phsq _n_value
Expand Down

0 comments on commit 7b8d794

Please sign in to comment.