Re: A86: Need more help
[Prev][Next][Index][Thread]
Re: A86: Need more help
In a message dated 12/12/99 2:02:18 AM Eastern Standard Time, 
misty@drrobin.yi.org writes:
> well... actually you need to do this...
>  
>  ld e,a
>  add 6,a
>  ld a,e
>  
Heh no you just reversed the order of every argument.  Keep in mind the 
storage goes to the *first* argument, not the second.
So ld e,a means e=a, add 6,a means 6=a (!), and ld a,e means a=e.
The way originally posted was correct.
----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/