Re: A86: Another Question


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

Re: A86: Another Question





On Thu, 13 Aug 1998 23:27:59 -0400 "Ahmed El-Helw"
<ahmedre@bellsouth.net> writes:
>
>hello, can someone tell me why this outputs huge numbers? Am I missing
>something??

my, but that's odd looking code.
how huge?  do they get bigger than 86?  it doesn't look like you'd get
anything bigger than that to me.
make sure varspace doesn't run over Random.

why are you using memory when you've got 2 perfectly good registers
available?
>  ld a,(temp)		;Increase Temp and Temp2 by 2 each
>  inc a \ inc a
>  ld (temp),a
>  ld a,(temp2)
>  inc a \ inc a

>  ld (temp2),a
>  ld a,(temp2)
was this really written in asm?

>varspace=$
> price = varspace+1
> price1 = varspace+2
>....
> price14 = varspace+3
make sure this is after all the code

-josh


_____________________________________________________________________
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: