1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-28 05:30:23 +00:00

New builtin macro package CPU

git-svn-id: svn://svn.cc65.org/cc65/trunk@2504 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-10-10 17:37:52 +00:00
parent a729156753
commit f721907ab3
2 changed files with 23 additions and 9 deletions

View File

@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998 Ullrich von Bassewitz */ /* (C) 1998-2003 Ullrich von Bassewitz */
/* Wacholderweg 14 */ /* Römerstrasse 52 */
/* D-70597 Stuttgart */ /* D-70794 Filderstadt */
/* EMail: uz@musoftware.de */ /* EMail: uz@cc65.org */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@ -183,6 +183,18 @@ static char MacCBM[] =
" .endrepeat\n" " .endrepeat\n"
".endmacro\n"; ".endmacro\n";
/* CPU defines */
static char MacCPU[] =
"CPU_ISET_6502 = $01\n"
"CPU_ISET_65SC02 = $02\n"
"CPU_ISET_65C02 = $04\n"
"CPU_ISET_65816 = $08\n"
"CPU_ISET_SUNPLUS = $10\n"
"CPU_6502 = $01\n"
"CPU_65SC02 = $03\n"
"CPU_65C02 = $07\n"
"CPU_65816 = $0F\n"
"CPU_SUNPLUS = $10\n";
@ -190,7 +202,8 @@ static char MacCBM[] =
static char* MacPackages [] = { static char* MacPackages [] = {
MacGeneric, MacGeneric,
MacLongBranch, MacLongBranch,
MacCBM MacCBM,
MacCPU
}; };

View File

@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998 Ullrich von Bassewitz */ /* (C) 1998-2003 Ullrich von Bassewitz */
/* Wacholderweg 14 */ /* Römerstrasse 52 */
/* D-70597 Stuttgart */ /* D-70794 Filderstadt */
/* EMail: uz@musoftware.de */ /* EMail: uz@cc65.org */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@ -48,6 +48,7 @@
#define MAC_GENERIC 0 #define MAC_GENERIC 0
#define MAC_LONGBRANCH 1 #define MAC_LONGBRANCH 1
#define MAC_CBM 2 #define MAC_CBM 2
#define MAC_CPU 3