啥都别说了,上代码一看就明白了。 32: void rmove(void)
33: {
34: int i;
35: for ( i=8; i>0; i-- )
C:0x008F 7F08 MOV R7,#keyb(0x08)
C:0x0091 7E00 MOV R6,#0x00
36: {
37: ACC_7=DIO;
C:0x0093 A297 MOV C,DIO(0x90.7)
C:0x0095 92E7 MOV ACC_7(0xE0.7),C
38: SCLK = 0;
C:0x0097 C296 CLR SCLK(0x90.6)
39: ACC=ACC>>=1;
C:0x0099 FD MOV R5,A
C:0x009A 7C01 MOV R4,#0x01
C:0x009C 7801 MOV R0,#0x01
C:0x009E 08 INC R0
C:0x009F 8002 SJMP C:00A3
C:0x00A1 C3 CLR C
C:0x00A2 13 RRC A
C:0x00A3 D8FC DJNZ R0,C:00A1
40: SCLK = 1;
C:0x00A5 D296 SETB SCLK(0x90.6)
41: }
42:
C:0x00A7 EF MOV A,R7
C:0x00A8 1F DEC R7
C:0x00A9 7001 JNZ C:00AC
C:0x00AB 1E DEC R6
C:0x00AC EF MOV A,R7
C:0x00AD 4E ORL A,R6
C:0x00AE 70E3 JNZ C:0093
43: }
44:
C:0x00B0 22 RET
|