Re: A86: batt checker
[Prev][Next][Index][Thread]
Re: A86: batt checker
in reg,(c) isn't undocumented. the undocumented one is in (c) or in
f,(c) which only affects the flags. the downside to these is that you
have to load c with the port number first and they take one more t-state.
from z80iss.txt: CZPSNH
+------------+--------------------+------+---+---+
|IN A,(n) |A:=port(n) |......| 2 |11 |
|IN r,(C) |r:=port(C) |.*P*0*| 2 |12 |
|IN ?,(C) |only set flags as |.*P*0*| 2 |12 |
| | as IN r,(C) does | | | |
+------------+--------------------+------+---+---+
zilog probly didn't tell people about them because they didn't intend
them to be there in the first place.
-josh
On Wed, 2 Dec 1998 15:00:35 EST ComAsYuAre@aol.com writes:
>
>are you saying that you can do in and out with all registers? that's
>really
>useful. don't see why zilog kept everyone in the dark about this
>stuff.
>
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]