[A83] Re: On calc.
[Prev][Next][Index][Thread]
[A83] Re: On calc.
Oh. Damn. I'll never get this to work. :P.
On Tue, 08 Apr 2003 17:29:34 +0200
Martin <iemandiemand@xs4all.nl> wrote:
> It probably has another syntax than TASM, just like zds uses a different
> syntax.
>
> At 17:02 8-4-03 +0200, you wrote:
> >I have found a asm-compiler får z80 to FreeBSD.
> >But i dont get it. :P.
> >
> >When i try to assemble some code it just tells me error on every row.
> >-----
> > > cat asdf.z80
> >.NOLIST
> >#define equ .equ
> >#define EQU .equ
> >#define end .end
> >#include "ti83asm.inc"
> >#include "tokens.inc"
> >.LIST
> >.org 9327h
> > call _clrLCDFull
> > ld a,5
> > ld (currow),a
> > ld a,6
> > ld (curcol),a
> > ld hl,STRING_ONE
> > call _puts
> > ret
> >STRING_ONE:
> > .db "Hi there!",0
> >.end> tpasm -P z80 asdf.z80
> >asdf.z80:2 :error : Garbage at start of line
> >asdf.z80:3 :error : Garbage at start of line
> >asdf.z80:4 :error : Garbage at start of line
> >asdf.z80:5 :error : Garbage at start of line
> >asdf.z80:6 :error : Garbage at start of line
> >asdf.z80:8 :error : Unrecognized opcode '9327h'
> >asdf.z80:9 :error : Failed to resolve '_clrLCDFull'
> >asdf.z80:11 :error : Failed to resolve 'currow'
> >asdf.z80:13 :error : Failed to resolve 'curcol'
> >asdf.z80:15 :error : Failed to resolve '_puts'
> >asdf.z80:18 :error : Unrecognized opcode '.db'
> > >
> >
> >end
>
>
References: