summaryrefslogtreecommitdiffstats
path: root/src/hexcodes.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 18:45:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 18:45:49 +0000
commit09a528fd59d3ea5f69575a92574f7a87898dc068 (patch)
tree9e465c49fbbe65f70d4feca3fcfb2ab3a7cf00d4 /src/hexcodes.h
downloadkpicosim-09a528fd59d3ea5f69575a92574f7a87898dc068.tar.gz
kpicosim-09a528fd59d3ea5f69575a92574f7a87898dc068.zip
Added old abandoned (but very good!) KDE3 KPicoSim application
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1092928 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/hexcodes.h')
-rwxr-xr-xsrc/hexcodes.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/hexcodes.h b/src/hexcodes.h
new file mode 100755
index 0000000..ab326fc
--- /dev/null
+++ b/src/hexcodes.h
@@ -0,0 +1,64 @@
+#ifndef HEXCODES
+#define HEXCODES
+
+#define instrADD_SX_KK 0x18000
+#define instrADD_SX_SY 0x19000
+#define instrADDCY_SX_KK 0x1A000
+#define instrADDCY_SX_SY 0x1B000
+#define instrAND_SX_KK 0x0A000
+#define instrAND_SX_SY 0x0B000
+#define instrCALL 0x30000
+#define instrCALLC 0x31800
+#define instrCALLNC 0x31C00
+#define instrCALLNZ 0x31400
+#define instrCALLZ 0x31000
+#define instrCOMPARE_SX_KK 0x14000
+#define instrCOMPARE_SX_SY 0x15000
+#define instrDISABLE_INTERRUPT 0x3C000
+#define instrENABLE_INTERRUPT 0x3C001
+#define instrFETCH_SX_SS 0x06000
+#define instrFETCH_SX_SY 0x07000
+#define instrINPUT_SX_SY 0x05000
+#define instrINPUT_SX_PP 0x04000
+#define instrJUMP 0x34000
+#define instrJUMPC 0x35800
+#define instrJUMPNC 0x35C00
+#define instrJUMPNZ 0x35400
+#define instrJUMPZ 0x35000
+#define instrLOAD_SX_KK 0x00000
+#define instrLOAD_SX_SY 0x01000
+#define instrOR_SX_KK 0x0C000
+#define instrOR_SX_SY 0x0D000
+#define instrOUTPUT_SX_SY 0x2D000
+#define instrOUTPUT_SX_PP 0x2C000
+#define instrRETURN 0x2A000
+#define instrRETURNC 0x2B800
+#define instrRETURNNC 0x2BC00
+#define instrRETURNNZ 0x2B400
+#define instrRETURNZ 0x2B000
+#define instrRETURNI_DISABLE 0x38000
+#define instrRETURNI_ENABLE 0x38001
+#define instrROTATE 0x20000
+#define instrRL_SX 0x00002
+#define instrRR_SX 0x0000C
+#define instrSL0_SX 0x00006
+#define instrSL1_SX 0x00007
+#define instrSLA_SX 0x00000
+#define instrSLX_SX 0x00004
+#define instrSR0_SX 0x0000E
+#define instrSR1_SX 0x0000F
+#define instrSRA_SX 0x00008
+#define instrSRX_SX 0x0000A
+#define instrSTORE_SX_SS 0x2E000
+#define instrSTORE_SX_SY 0x2F000
+#define instrSUB_SX_KK 0x1C000
+#define instrSUB_SX_SY 0x1D000
+#define instrSUBCY_SX_KK 0x1E000
+#define instrSUBCY_SX_SY 0x1F000
+#define instrTEST_SX_KK 0x12000
+#define instrTEST_SX_SY 0x13000
+#define instrXOR_SX_KK 0x0E000
+#define instrXOR_SX_SY 0x0F000
+
+#endif
+