key2:cjne a,#32h,key3
clr a ;相等送P2口状态 mov a, p2 mov sbuf,a jnb ti,$ clr ti key3:转向结束。
程序流程基本清晰,慢慢来多看看书,多多练习。 发表时间:2004年7月14日8:48:40