Re: A86: Link Port 1
[Prev][Next][Index][Thread]
Re: A86: Link Port 1
you don't need to convert it to hexadecimal... you need to output it to
port 1 wait and input:
ld a,%01110111
out (1),a
nop \ nop \ nop \ nop
in a,(1)
Walasavage@aol.com wrote:
>
> How would I write this code in hex codes? I want to use port 1 for getkey
> purposes, but I can't figure out how to write this one thing. Do I convert it
> to hexadecimal, or what?
>
> ld a,%01110111 ;At least I know how to write a comment.
>
> Thanks,
> Stephen Walasavage
--
=====================================
= =
= Kirk Meyer (mailto:_@ibm.net) =
= http://www.bigfoot.com/~kirkmeyer =
= http://simcommunity.home.ml.org =
= =
= "Set your affection on things =
= above, not on things on the =
= earth." Colossians 3:2 =
= =
=====================================
Follow-Ups:
References: