chiark / gitweb /
E doesn't work; oh well
authorian <ian>
Thu, 28 Oct 2004 00:02:23 +0000 (00:02 +0000)
committerian <ian>
Thu, 28 Oct 2004 00:02:23 +0000 (00:02 +0000)
iwjpictest/serialloop.asm

index 91d1f5decf7ec6a0f5a9fc104c74b9f69cbb6035..48a842b52be18d5609ee4d197eb42df1bee003f9 100644 (file)
@@ -27,7 +27,6 @@ start
        bcf             TRISC, 6, 0     ; enable TXD output (RC6)
        bcf             TRISC, 5, 0     ; enable FCO output (RC5)
        bcf             TRISD, 4, 0     ; enable output D
-       bcf             TRISD, 3, 0     ; enable output E
 
 loop
        btg             LATD, 2, 0      ; toggle per-pic led output
@@ -41,7 +40,6 @@ delayinner_loop
        copybiti        PORTB, 3, LATA,  0x08           ; A data
        copybit         PORTD, 7, TRISA, 0x08           ; A enable
        copybiti        PORTA, 6, LATD,  0x10           ; D
-       copybiti        PORTD, 0, LATD,  0x08           ; E
        copybit         PORTB, 4, LATC,  0x20           ; serial FC
        copybit         PORTC, 7, LATC,  0x40           ; serial data
                                                ; 6 x copybit @6 = 24cy