Re: A82: Definition help


[Prev][Next][Index][Thread]

Re: A82: Definition help




In a message dated 98-05-30 07:17:41 EDT, you write:

> .define text(x,y,string) ld hl,(x*256)+y \ ld (GRAF_CURS),hl \ ld
>  hl,string \ call DISPLAY_STRING

ld hl,(x*256)+y is your problem, you can't use * and + in asm, and all a
define does is substitute those words when it finds the other words. so What
you have to do is sl x/sl x/ slx/sl x/sl x/add x,y I think, but it might be
sra I forget