Re: A86: menu style decimal input
[Prev][Next][Index][Thread]
Re: A86: menu style decimal input
This code was taken from the menu style decimal input...
How come it seemed to work for everyone else...
How can I fix it...
Should I just use the a register or something..
Thanks,
Chris
On Tue, 27 Apr 1999 16:33:24 -0500 "David Phillips" <david@acz.org>
writes:
>
>ADD supports 16 bit addition, while SUB supports only 8. Because of
>this,
>all values for SUB only require one argument, since everything is
>subtracted
>from the A register. ADD can have A, HL or an index register as the
>first
>argument.
>
>(put the cursor on ld in asm studio and press f1! :)
>
>> vgetdnumber:
>> ld a,b ;translate number
>> add $30-1 ; INVALID ARGUMENT TO ADD ERROR
>> jr vgetdput
>
>
>
>
___________________________________________________________________
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/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]
References: