Added CPU instruction set encoding

git-svn-id: svn://svn.cc65.org/cc65/trunk@2506 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-10-10 17:38:21 +00:00
parent 2e030b707c
commit 02d7d8faa7
2 changed files with 24 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/*****************************************************************************/
/* */
/* cpu.c */
/* cpu.c */
/* */
/* CPU specifications */
/* */
@@ -58,6 +58,15 @@ const char* CPUNames[CPU_COUNT] = {
"sunplus",
};
/* Tables with CPU instruction sets */
const unsigned CPUIsets[CPU_COUNT] = {
CPU_ISET_6502,
CPU_ISET_6502 | CPU_ISET_65SC02,
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02,
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_65816,
CPU_ISET_SUNPLUS
};
/*****************************************************************************/