summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-12-08 10:42:10 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2020-12-09 11:43:33 -0500
commita232e9f691187fdb05c35c14d4152d17f4babaf5 (patch)
tree9fdf364ce91506ed4490cd95ced6355459d7e8b5 /disasm.h
parent50875a80729eaf3be2b1473e385eca1102fce4e6 (diff)
- Implemented support for the Orthogonal extension into
both the assembler, and the emulator. I finally figured out how I could get support for the Ortho extension implemented into the old assembler. The only reason for doing this, is to buy me some while I start work on the new assembler, and to help me get an idea for how to do the same in the new assembler.
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/disasm.h b/disasm.h
index 3427592..2b65d12 100644
--- a/disasm.h
+++ b/disasm.h
@@ -336,6 +336,17 @@ static const char *ext_opname[0x100] = {
[PCN_E ] = "PCN (E)"
};
+static const char *set_cc[8] = {
+ "NG",
+ "PO",
+ "CS",
+ "CC",
+ "EQ",
+ "NE",
+ "VS",
+ "VC"
+};
+
#define ORTHO_1CC(mne, cc) \
[mne##_R##cc] = #mne " r, " #cc, [mne##_M##cc] = #mne " m, " #cc