repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
src
/
mos6502
/
m6502.h
blob
3447bc0a0bc0134cbed9c74ecdcc49286b10df61
1
typedef
enum
2
{
3
SUB_MOS6502
,
4
SUB_MOS65C02
5
}
6
MOS6502_SUB_PORT
;
7
8
typedef
struct
9
{
10
MOS6502_SUB_PORT sub
;
11
}
12
MOS6502_OPTS
;
13
14
extern
MOS6502_OPTS mos6502_opts
;
15
16
#define IS_MOS6502 (mos6502_opts.sub == SUB_MOS6502)
17
#define IS_MOS65C02 (mos6502_opts.sub == SUB_MOS65C02)
18