Skip to content

Commit 7b8d794

Browse files
mnemonic change
1 parent 59e5b9a commit 7b8d794

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/slu4-minimal-64x4/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The following instruction macros have been added in the ISA configuration file f
5252
| `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. |
5353
| `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 |
5454
| `mll` | abs address | abs address | Copies a 4 byte long at the first absolute address to the 4 bytes at the second absolute address |
55-
| `miq` | immediate | zero page address | Copies an immediate 4-byte long to a zero page long |
55+
| `m4iq` | immediate | zero page address | Copies an immediate 4-byte long to a zero page long |
5656

5757
### Assembly Syntax
5858
**BespokeASM**'s syntax is close to the syntax that Carsten used for the Minimal 64x4's assembly language. However, there are some differences:

examples/slu4-minimal-64x4/software/primes.min64x4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _n_value: .zero 4
1414
.org 0 "USER_APPS"
1515
start:
1616
; init N-value to 1
17-
miq 1,_n_value+0
17+
m4iq 1,_n_value+0
1818
.n_loop:
1919
phsi 0
2020
phsq _n_value

0 commit comments

Comments
 (0)