PIC dis*asm

Jan Waclawek wek@host.sk
Pondělí Září 20 14:34:37 CEST 2004


Clovek aby si vsetko robil sam...
:-o
http://www.picemulator.com/

prikladam fragment vysledku, to sa mi uz paci.

wek

h_004b:
        clrf    ccp1con                         ;0x17   ;004b 0197
        clrf    ccp2con                         ;0x1d   ;004c 019d
        movlw   0xcf                                    ;004d 30cf
        option                                          ;004e 0062
        clrf    porta                           ;0x05   ;004f 0185
        clrf    portb                           ;0x06   ;0050 0186
        clrf    portc                           ;0x07   ;0051 0187
        clrf    portd                           ;0x08   ;0052 0188
        clrf    porte                           ;0x09   ;0053 0189
        clrf    ccpr1l                          ;0x15   ;0054 0195
        clrf    ccpr2l                          ;0x1b   ;0055 019b
        movlw   0x04                                    ;0056 3004
        movwf   t2con                           ;0x12   ;0057 0092
        clrf    tmr2                            ;0x11   ;0058 0191
        movlw   0x14                                    ;0059 3014
        call    h_0176                                  ;005a 2176
        bsf     status,rp0                      ;0x03,5 ;005b 1683
        movlw   0x20                                    ;005c 3020
        movwf   trisa & 0x7f                    ;0x05   ;005d 0085
        clrf    trisb & 0x7f                    ;0x06   ;005e 0186
        clrf    trisc & 0x7f                    ;0x07   ;005f 0187
        clrf    trisd & 0x7f                    ;0x08   ;0060 0188
        clrf    trise & 0x7f                    ;0x09   ;0061 0189
        movlw   0x07                                    ;0062 3007
        movwf   adcon1 & 0x7f                   ;0x1f   ;0063 009f
        clrf    pr2 & 0x7f                      ;0x12   ;0064 0192
        bcf     status,rp0                      ;0x03,5 ;0065 1283
        bcf     0x70,0                                  ;0066 1070
        bcf     0x2e,7                                  ;0067 13ae
        movlw   0xc0                                    ;0068 30c0
        goto    h_00bd                                  ;0069 28bd
h_006a:
        movlw   0x20                                    ;006a 3020




Další informace o konferenci Hw-list