Re: A86: menu style decimal input


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

Re: A86: menu style decimal input




>From: Chris Magill <v8r@juno.com>

>
>I get an error when I assemble...
>
>Here is the area...
>
>vgetdnumber:
>        ld a,b                  ;translate number
>        add $30-1            ; INVALID ARGUMENT TO ADD ERROR
>        jr vgetdput

You have to put a reg before the number. For example: add a,$30-1

Andreas Finne


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