|
用WAVE,反汇编看看
079CH 27BB CALL 07BBH
079DH 3023 MOVLW 23H
079EH 27A0 CALL 07A0H
079FH 2F98 GOTO 0798H
07A0H 0183 CLRF STATUS
07A1H 00AB MOVWF 2BH
07A2H 01AD CLRF 2DH
07A3H 0AAD INCF 2DH, 1
07A4H 01AC CLRF 2CH
07A5H 3000 MOVLW 00H
07A6H 008A MOVWF PCLATH
07A7H 082B MOVF 2BH, 0
07A8H 0084 MOVWF FSR
07A9H 1383 BCF STATUS, 7
07AAH 0800 MOVF 00H, 0
07ABH 2011 CALL 0011H
07ACH 0086 MOVWF PORTB
07ADH 0AAB INCF 2BH, 1
07AEH 082D MOVF 2DH, 0
07AFH 0087 MOVWF PORTC
07B0H 1003 BCF STATUS, C
07B1H 0DAD RLF 2DH, 1
07B2H 3064 MOVLW 64H
07B3H 2767 CALL 0767H
07B4H 0187 CLRF PORTC
07B5H 0AAC INCF 2CH, 1
07B6H 3008 MOVLW 08H
07B7H 022C SUBWF 2CH, 0
07B8H 1803 BTFSC STATUS, C
07B9H 0008 RETURN
07BAH 2FA5 GOTO 07A5H
07BBH 0183 CLRF STATUS
07BCH 01AB CLRF 2BH
07BDH 3010 MOVLW 10H
07BEH 07A2 ADDWF 22H, 1
07BFH 3027 MOVLW 27H
07C0H 0222 SUBWF 22H, 0
07C1H 3010 MOVLW 10H
07C2H 1903 BTFSC STATUS, Z
07C3H 0221 SUBWF 21H, 0
07C4H 1C03 BTFSS STATUS, C
07C5H 0008 RETURN
07C6H 30F0 MOVLW F0H
07C7H 07A1 ADDWF 21H, 1
07C8H 1803 BTFSC STATUS, C
07C9H 0AA2 INCF 22H, 1
07CAH 30D8 MOVLW D8H
07CBH 07A2 ADDWF 22H, 1
07CCH 3064 MOVLW 64H
07CDH 0AA0 INCF 20H, 1
07CEH 0220 SUBWF 20H, 0
07CFH 1C03 BTFSS STATUS, C
07D0H 0008 RETURN
07D1H 309C MOVLW 9CH
07D2H 07A0 ADDWF 20H, 1
07D3H 300A MOVLW 0AH
07D4H 00AC MOVWF 2CH
07D5H 3025 MOVLW 25H
07D6H 277B CALL 077BH
07D7H 1C03 BTFSS STATUS, C
07D8H 0008 RETURN
07D9H 3006 MOVLW 06H
07DAH 00AC MOVWF 2CH
07DBH 3024 MOVLW 24H
07DCH 277B CALL 077BH
07DDH 1C03 BTFSS STATUS, C
07DEH 0008 RETURN |
|