From 7b8d794ea67dabd4754d44d3bacc2bd344e16793 Mon Sep 17 00:00:00 2001 From: Michael Kamprath Date: Fri, 10 May 2024 23:23:50 -0700 Subject: [PATCH] mnemonic change --- examples/slu4-minimal-64x4/README.md | 2 +- examples/slu4-minimal-64x4/software/primes.min64x4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/slu4-minimal-64x4/README.md b/examples/slu4-minimal-64x4/README.md index 3ecb74a..0e82f0b 100644 --- a/examples/slu4-minimal-64x4/README.md +++ b/examples/slu4-minimal-64x4/README.md @@ -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: diff --git a/examples/slu4-minimal-64x4/software/primes.min64x4 b/examples/slu4-minimal-64x4/software/primes.min64x4 index a543a0e..bc1ca33 100644 --- a/examples/slu4-minimal-64x4/software/primes.min64x4 +++ b/examples/slu4-minimal-64x4/software/primes.min64x4 @@ -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