Re: A83: INI...


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

Re: A83: INI...




On Wed, 10 Nov 1999, yhean wrote:

> 
> I'm trying to use the INI instruction.
> Here is what I could find in AsmGuru:
> 
> 
>  Mnemonic   SZHPNC Description           Notes
> 
>  INI        ?*??1- Input and Increment   (HL)=(C),HL=HL+1,B=B-1 
> 
> 
> All tutorials Copyright (c) James Matthews 1998, unless specified.
> 
> 
> What does mean the (HL)=(C) ?
> What's the difference with (HL)=C ?

Correct me if I'm wrong, but I believe it's the same thing as:
IN A,(C)
LD (HL),A
INC HL
DEC B

     Daniel Church      |  "War doesn't determine who is right-
     ___---^---___      |   only who is left."
    dchurch@mbhs.edu    |  -anonymous

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M/S/MU>AT d-(+)(x) s++:- a16@ C++(+++)>++++$ UL++++ P+ L+++(++)>++++
E W+>++ N+ o? K? w(---) !O !M(--) V? PS+(++) PE(--) Y? !PGP>+ t+ 5 X()+
R>+ tv+() b+(++)>+++ DI++>++++ D++ G+>++ e-(*)>++ h!>>-(---) r+>++ y>+
------END GEEK CODE BLOCK------



Follow-Ups: References: