Skip to content
Snippets Groups Projects
Commit c2f88659 authored by patacongo's avatar patacongo
Browse files

Assembly errors

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@461 42af7a65-404d-4744-a932-0658087f49c3
parent b516dfa9
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,10 @@
void up_lowputc(char ch) __naked
{
_asm
ld a, #2(sp)
out #0xbe, a
ld hl, #2
add hl, sp
ld a, (hl)
out (0xbe), a
ret
_endasm;
}
......@@ -93,7 +95,7 @@ void up_lowputc(char ch) __naked
char up_lowgetc(void) __naked
{
_asm
in #0xbe, a
in a, (0xbe)
ld l, a
ld h, #0
ret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment