[A83] Re: ld hl,bc


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

[A83] Re: ld hl,bc



In a message dated 5/13/2001 2:58:00 PM Eastern Daylight Time, 
jandebeule@belgacom.net writes:


> But when i tried to do 'Bcall(_disphl)' he gave a number like 64584 or
> something (isn't that an adress instead of the number that is in hl)....?

Try doing

 ld hl,315
 bcall(_disphl)

and it should display 315.  Try it again with

 ld bc,315
 ld h,b
 ld l,c
 bcall(_disphl)

and I'd be amazed if you didn't get the same result.


----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org