Re: A85: Yet another piece of defective source.
[Prev][Next][Index][Thread]
Re: A85: Yet another piece of defective source.
PXGray@aol.com wrote:
> Enter:
> ld a,(CUR_POS)
> or a
> jr z,ColZero
> ld h,4
> ld l,a
> call MUL_HL
> add hl,(ARRAY)
Oops! Did you mean to use those parentheses? You're adding hl to the first two
elements in the array, not the array's address. Use "add hl,ARRAY" instead.
> ld b,3
> jr Loop2
> ColZero:
> ld hl,(ARRAY)
Same here.
> ld b,3
> Loop2:
>
> -Gray
--
Dark Ryder
ICQ#: 8189903
E-Mail: DarkRyder@cyberdude.com
Happiness is inversely proportional to how much you want to upgrade your
computer.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CC/ED/IT/M/MU/P/S/O/AT (!)d-? s++(+):+(++) a?--- C++++$
UB>L+++ P L>+++ E- W+++$ !N o? K- w(---)$ !O M(+)(-) V?
PS+(+++) PE-- Y PGP t*+(+++) 5++ X+ R*+++ tv b+++ DI++++
D++ G++>++++ e*>+++++ h!>++ r-(+) y**++
------END GEEK CODE BLOCK------
References: