Re: A83: ti compiler....hl to a question


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

Re: A83: ti compiler....hl to a question




Does it touch register A?  I thought it didn't...


>From: Harper Maddox <gte172i@prism.gatech.edu>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: Re: A83: ti compiler....hl to a question
>Date: Wed, 08 Nov 2000 18:20:33 -0500
>
>
>no offense, but if you don't know how LDIR works, then maybe you shouldn't
>attempt to write a compiler.  LDIR is one of the most commonly used
>opcodes, and it is essential to many optimizations.
>
>but, to explain...
>LDIR is equivalent to:
>
>label:
>  ld a,(hl)
>  ld (de),a
>  inc hl
>  inc de
>  dec bc
>  ld a,b
>  or c
>  jr nz,label
>
>
>
>
>At 02:47 PM 11/8/00 -0500, you wrote:
>
>>Um...ok i think i get it...ok now before i get to indepth with this
>>program....i was wondering...how exactly does a ldir work? does it go up 
>>to
>>the last line? the last label? what? and does it increment a?
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.




Follow-Ups: