1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00

Added HuC6280 cpu

git-svn-id: svn://svn.cc65.org/cc65/trunk@3610 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-08-31 21:46:12 +00:00
parent 2a19f6b700
commit 400f593fb2
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ const char* CPUNames[CPU_COUNT] = {
"65816",
"sunplus",
"sweet16",
"huc6280",
};
/* Tables with CPU instruction sets */
@ -70,6 +71,7 @@ const unsigned CPUIsets[CPU_COUNT] = {
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_65816,
CPU_ISET_SUNPLUS,
CPU_ISET_SWEET16,
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_HUC6280,
};

View File

@ -55,6 +55,7 @@ typedef enum {
CPU_65816,
CPU_SUNPLUS, /* Not in the freeware version - sorry */
CPU_SWEET16,
CPU_HUC6280, /* Used in PC engine */
CPU_COUNT /* Number of different CPUs */
} cpu_t;
@ -68,6 +69,7 @@ enum {
CPU_ISET_65816 = 1 << CPU_65816,
CPU_ISET_SUNPLUS = 1 << CPU_SUNPLUS,
CPU_ISET_SWEET16 = 1 << CPU_SWEET16,
CPU_ISET_HUC6280 = 1 << CPU_HUC6280,
};
/* CPU used */