Re: A83: INI...


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

Re: A83: INI...




> >  INI        ?*??1- Input and Increment   (HL)=(C),HL=HL+1,B=B-1
> >
> > 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

That's correct.

There is also INIR, which replaces the DEC B with a DJNZ. ALso, there is
OUTI and OTIR... They are the same exect for that they OUT instead of IN.
It's quite useful for sending or recieving multiple bytes (however; it's not
that useful on the TI... it's made for use with a bit more advanced external
devices).


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
          email me: laurensh@geocities.com or ICQ: 10196372
             visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<




References: