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
/
support
/
regression
/
ports
/
stm8-large
/
support.c
blob
5d7f7073b843486d36e07949e854f965051c5cbb
1
volatile
static unsigned char
*
sif
;
2
3
void
4
_putchar
(
unsigned char
c
)
5
{
6
*
sif
=
'p'
;
7
*
sif
=
c
;
8
return
;
9
c
;
10
__asm
11
ld a
, (
0x04
,
sp
)
12
.
db
0x71
,
0xed
13
__endasm
;
14
}
15
16
void
17
_initEmu
(
void
)
18
{
19
sif
= (
unsigned char
*)
0x7fff
;
20
}
21
22
void
23
_exitEmu
(
void
)
24
{
25
*
sif
=
's'
;
26
return
;
27
__asm
28
.
db
0x71
,
0xec
29
__endasm
;
30
}