Re: A89: Re: how to test 2 keys at once? and another question.


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

Re: A89: Re: how to test 2 keys at once? and another question.




In a message dated 4/24/00 3:55:19 PM Eastern Daylight Time, 
hatch@cyberport.com writes:

<<     cmp.w whatever,whatever
     beq    add_1_to_x
 
 add_1_to_x:
     add.w #1,x >>
How about....

    cmp.w whatever,whatever
    bne    dont_add_1_to_x
    add.w #1,x
dont_add_1_to_x:

I know it uses labels, but i think that's the best way.
Jordan