summaryrefslogtreecommitdiff
path: root/enums.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-08-08 10:28:36 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-08-08 10:28:36 -0400
commit1ec19679b3db209429b0897f6ccda6d09d018a70 (patch)
treeef17e28b388a04fadeb14982a5332eb647981d8b /enums.h
parent39081609ec4f1f5d96e15e346eecd09ca2cc9f41 (diff)
Did a ton of stuff.
- Changed the file structure of the SuB Suite, so that all variable declarations, symbols, and constants are in a single file. - Moved the C library functionss into a separate file, and made them use stack frames. - Added support for using the emulator's assembler for realtime debugging, to enter it, get in to stepping mode by pressing Ctrl+s, press any other key, then press F1, The reason for having to press some other key before pressing F1 is because it only allows entering the assembler when the keyboard is not ready. - Added the ".res" directive to the emulator's assembler, the ".res" directive tells the assembler to reserve however many bytes specified by the operand. - Fixed some bugs in the emulator's assembler.
Diffstat (limited to 'enums.h')
-rw-r--r--enums.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/enums.h b/enums.h
index 955c27c..83cc7f0 100644
--- a/enums.h
+++ b/enums.h
@@ -156,7 +156,7 @@ enum base_isa {
INY_IMP = 0x39, /* INcrement Y register. */
CPX_IMM = 0x3A, /* ComPare X register. */
CPX_AB = 0x3C, /* CPX Absolute. */
- CPY_Z = 0x3D, /* CPY Zero Matrix. */
+ CPX_Z = 0x3D, /* CPX Zero Matrix. */
JSR_Z = 0x40, /* Jump to SubRoutine. */
XOR_IMM = 0x41, /* bitwise XOR with accumulator. */
XAB_IMP = 0x42, /* bitwise Xor with Accumulator, and B register. */
@@ -166,7 +166,7 @@ enum base_isa {
CLV_IMP = 0x48, /* CLear oVerflow flag. */
CPY_IMM = 0x4A, /* ComPare Y register. */
CPY_AB = 0x4C, /* CPY Absolute. */
- CPX_Z = 0x4D, /* CPX Zero Matrix. */
+ CPY_Z = 0x4D, /* CPY Zero Matrix. */
BPO_REL = 0x50, /* Branch if POsitive. */
LSL_IMM = 0x51, /* Logical Shift Left. */
LLB_IMP = 0x52, /* Logical shift Left accumulator by B. */