Re: A86: a program to run


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

Re: A86: a program to run




?!?  How could that possibly be anything other than 0?

Dan Eble wrote:

> My link is misbehaving.  Someone please run the following on a calculator
> (not an emulator) and tell me whether the output is 0 or 1.
>
>         xor a
>         ld hl,blah
>         ld (hl),a
> blah:   inc a
>         add a,'0'
>         call _putmap
>
> --------
> Dan Eble (mailto:eble@cis.ohio-state.edu)
>          (http://www.cis.ohio-state.edu/~eble)
>
> "Behold, how great a matter a little fire kindleth!" -- James 3:5



--
Stephen Hicks
mailto:shicks@mindspring.com
ICQ:5453914
IRC/AIM:Kupopo
Hopemage:http://www.mindspring.com/~shicks/



Follow-Ups: References: