Re: A86: registers


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

Re: A86: registers




It sorta depends.  If you typed that directly into an assembler, that's what
would happen, but if you typed it in machine language, like 2285DF (which
isn't right anyway, even though it seems it would be), then you would be
right...

Kirk Meyer wrote:

> no - h would contain $85 and l would contain $df.
>
> Dux Gregis wrote:
> >
> > If I exec <ld hl,$85df>, then h contains $df and l contains $85, right?
> > ... If so, why did that add hl,a thing I posted have to have the regs
> > reversed?
>
> --
>
> =====================================
> =                                   =
> =   Kirk Meyer (mailto:_@ibm.net)   =
> = http://www.bigfoot.com/~kirkmeyer =
> =                                   =
> =   "Set your affection on things   =
> =    above, not on things on the    =
> =      earth."  Colossians 3:2      =
> =                                   =
> =====================================



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



References: