Re: A83: Re: 32 bit numbers


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

Re: A83: Re: 32 bit numbers




here is the sytax (i'll even give you a large block of safe ram too!!)

SAVESCREEN .equ 8265h   ;savescreen is good through 87a1h, it think(?)
COPY_TO_HERE .equ SAVESCREEN
X_NUMBER_OF_BYTES .equ 01h

ld hl,COPY_FROM_HERE
ld de,COPY_TO_HERE
ld bc,X_NUMBER_OF_BYTES
ldir                     ;COPY IT!


>Ldir to 9 bytes of safe ram? umm... How would I do that? I thought ldir
>didn't have any aurguments?
>
>
>
>>
>>On 11-Oct-98, James Matthews wrote:
>>
>>>> I have a program that gives me a number in op1 that cannot be 
stored in
>a
>>16
>>>> bit reg, how do I display and put that number into a user defined
>variable
>>>> without a dimention error?
>>
>>>John, _dispop1a should display it...its the storing that we're having
>trouble
>>>with.  Just remember to set a to something...like
>>>9 before calling it.
>>
>>>James.
>>
>>Storing would be done with ldir to 9 bytes of safe ram.
>>
>>Linus
>>
>
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com