[A83] Re: Getkey loop


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

[A83] Re: Getkey loop




Thanks, but now it freaks out when I press on.
-Calc Freak

----- Original Message -----
From: "Jimmy Pardey" <j_pardey@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Wednesday, June 05, 2002 6:22 PM
Subject: [A83] Re: Getkey loop


>
> hello,
>
> Well, nc is for the carry flag, you want nz for the zero flag, when
register
> a is equal (zero difference) to kY
>
> I think that should work,
>    Jimmy Pardey
>
>
> >X:
> >  B_Call _getkey   ;Gets a keypress
> >  cp kY    ;If key = [Y=]
> >  jp nc,StartMenu   ;Jump to StartMenu
> >  jp X    ;Repeat the loop (jump to X)
> >
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
>




Follow-Ups: References: