Ngày tải lên :
24/05/2014, 22:19
... chọn port B MOVX A,@DPTR ; đọc tất hàng ANL A, #11 110 000B ; che bit không dùng CJNE A, #11 110 000B,FIND_HANG1 ; cot 1, tìm hàng LCALL DELAY MOV A, #11 111 101B ; tiếp đất cột MOV DPTR,#8000H ; chọn port ... @DPTR,A; ; xuất liệu port A MOV DPTR,#8001H; ; chọn port B MOVX A,@DPTR ANL A, #11 110 000B CJNE A, #11 110 000B,FIND_HANG2 LCALL DELAY MOV A, #11 111 011 B ; tiep dat cot MOV DPTR,#8000H; ; chọn port A MOVX ... over: acall delay mov dptr,#portb movx a,@dptr anl a,#000 011 11b cjne a,#000 011 10b,but1 sjmp rl_0 but1: mov dptr,#portb movx a,@dptr anl a,#000 011 11b cjne a,#000 011 01B,but2 sjmp rl _1 but2: mov...