[A83] Re: Help....!


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

[A83] Re: Help....!



sla hl is not an opcode!  Besides, sla is a 2-byte opcode and add hl,hl is 
one-byte anyway.  What he wrote should work perfectly.


In a message dated 3/16/01 6:26:57 PM Eastern Standard Time, gtolson@snet.net 
writes:


> At 04:47 PM 3/16/01 -0600, you wrote:
> >
> >ld hl,(clines)
> >ld h,0
> >add hl,hl  ;*32
> >add hl,hl
> >add hl,hl
> >add hl,hl
> >add hl,hl
> >ld a,(lines)
> >bcall(_divhlbya)
> >ld a,l
> >add a,21
> >
> >This right?
> >
> >
> >
> 
> Dude! That is SO much faster than my way!  You might try sla hl rather than
> add hl,hl.



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org