Re: A83: IndexOf program... Help!


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

Re: A83: IndexOf program... Help!




Whoops, there is a revision down below... Denoted by a arrow
It still has the same problem though

>         call _zeroop1
>         ld hl,op1
>         ld (hl),$04
>         inc hl
>         ld (hl),$AA
>         inc hl
>         ld (hl),8
>         call _chkfindsym
>         jp c,_errundefined
>         ex de,hl
>         ld c,(hl)
>         inc hl
>         ld b,(hl)
>         push bc
>         inc hl
>         ld de,index
>         ldir
> 
>         call _zeroop1
>         ld hl,op1
>         ld (hl),$04
>         inc hl
>         ld (hl),$AA
>         inc hl
>         ld (hl),0
>         call _chkfindsym
>         jp c,_errundefined
>         ex de,hl
>         inc hl
>         inc hl
>         ld a, (hl)
> 
>         ld hl, index
>         pop bc
>         ld e, c
>         cpir
> 
          ld a, e ; <-------\__ Had the math backwards
          sub c   ; <-------/
>         sub 1
>         call _setxxop1
>         call _pushrealo1
>         call _zeroop1
>         ld hl,'A'
>         ld (op1+1),hl
>         call _stoother
>         ret
> index
> 
> --
> Scott "_Wrath_" Dial
> homosapian@geocities.com
> ICQ#3608935
> http://www.geocities.com/~homosapian/

-- 
Scott "_Wrath_" Dial
homosapian@geocities.com
ICQ#3608935
http://www.geocities.com/~homosapian/


References: