Re: A85: What's wrong with this code


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

Re: A85: What's wrong with this code




I've decided to switch over to Usgard.  How do I fix this in Usgard?  I
need an ampersand somewhere right?  But where?

egillespie@juno.com
erik_gillespie_1096@gwgate.kvcc.edu

"In a prototypical world, nothing ever goes wrong." -Scott Meyers

On Wed, 13 May 1998 02:44:37 GMT mgp4007@omega.uta.edu (Michael Pearce)
writes:
>
>the first line of code is wrong.  you cannot load directly into
>register a unless you have the absolute address.  you need to add the
>relative address SomeByte to (PROG_ADDR) to get the absolute addr.
>BTW, if you used rigel or usgard, you wouldn't have this limitation.
>
>-mike pearce
>
>>
>>InitClipping:
>>   ld    a, (SomeByte)
>>   ld    hl, ClipLeft
>>   ld    b, 4
>>   CALL_(SplitByte)

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


Follow-Ups: References: