42TEMP_device

42TEMP_device - ADDR B1 B2 B3 B4 F:\ECE567\jrECE...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ADDR B1 B2 B3 B4 F:\ECE567\jrECE 567\42TEMP_device.asm PAGE 1 ;Part 4.2 PORTB EQU $1004 PORTC EQU $1003 DDRC EQU $1007 TCNT EQU $0E TOC2 EQU $18 TMSK2 EQU $24 TFLG1 EQU $23 PORTBI EQU 4 PORTCI EQU 3 OPTION EQU $1039 ADCTL EQU $1030 ADR2 EQU $1032 ORG $30 VALUE RMB 1 CNT RMB 1 ASTORE RMB 1 BSTORE RMB 1 PRTC RMB 1 COLVAL RMB 1 ROWVAL RMB 1 INDEX RMB 1 NOW RMB 1 SUM RMB 1 ANALOG RMB 1 TOTAL RMB 1 INDEX2 RMB 1 B RMB 1 A RMB 1 TIME RMB 2 PATRN RMB 1 SPEED RMB 1 ORG $100 0100 D7 TABLE FCB %11010111 0101 EE FCB %11101110 0102 DE FCB %11011110 0103 BE FCB %10111110 0104 ED FCB %11101101 0105 DD FCB %11011101 0106 BD FCB %10111101 0107 EB FCB %11101011 0108 DB FCB %11011011 0109 BB FCB %10111011 010A E7 FCB %11100111 010B D7 FCB %11010111 010C B7 FCB %10110111 010D 7E FCB %01111110 010E 7D FCB %01111101 010F 7B FCB %01111011 0110 77 LPID FCB %01110111 0111 01 BCDTBL FCB $1 0112 02 FCB $2 0113 04 FCB $4 0114 08 FCB $8 0115 16 FCB $16 0116 32 FCB $32 0117 64 FCB $64 0118 01 28 PATS FDB PAT0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
011A 01 2B FDB PAT1 011C 01 30 FDB PAT2 011E 01 33 FDB PAT3 ADDR B1 B2 B3 B4 F:\ECE567\jrECE 567\42TEMP_device.asm PAGE 2 0120 01 36 FDB PAT4 0122 01 39 FDB PAT5 0124 01 3D FDB PAT6 0126 01 40 FDB PAT7 0128 02 PAT0 FCB 2 0129 0F FCB %00001111 012A F0 FCB %11110000 012B 04 PAT1 FCB 4 012C 18 FCB %00011000 012D 24 FCB %00100100 012E 42 FCB %01000010 012F 81 FCB %10000001 0130 02 PAT2 FCB 2 0131 55 FCB %01010101 0132 AA FCB %10101010 0133 02 PAT3 FCB 2 0134 30 FCB %00110000 0135 0C FCB %00001100 0136 02 PAT4 FCB 2 0137 CC FCB %11001100 0138 33 FCB %00110011 0139 03 PAT5 FCB 3 013A 11 FCB %00010001 013B 22 FCB %00100010 013C 44 FCB %01000100 013D 02 PAT6 FCB 2 013E 3C FCB %00111100 013F C3 FCB %11000011 0140 03 PAT7 FCB 3 0141 CC FCB %11001100 0142 66 FCB %01100110 0143 33 FCB %00110011 0144 86 FF BODY LDAA #$FF 0146 43 COMA 0147 B7 10 04 STAA PORTB 014A 8D 25 BSR SCAN 014C C6 0A LDAB #$A 014E 11 CBA 014F 26 F3 BNE BODY 0151 43 COMA 0152 B7 10 04 STAA PORTB 0155 8D 1A SECOND BSR SCAN 0157 C6 01 LDAB #1 0159 11 CBA 015A 26 07 BNE SKIP 015C 43 COMA 015D B7 10 04 STAA PORTB 0160 7E B6 00 JMP TEMP 0163 C6 02 SKIP LDAB #2 0165 11 CBA 0166 26 ED BNE SECOND 0168 43 COMA 0169 B7 10 04 STAA PORTB 016C 7E B6 90 JMP LIGHT 016F 20 D3 BRA BODY 0171 86 F0 SCAN LDAA #$F0
Background image of page 2
0173 B7 10 07 STAA DDRC 0176 86 00 LDAA #$00 0178 B7 10 03 STAA PORTC 017B B6 10 03 LDAA PORTC 017E C6 F0 LDAB #$F0 0180 11 CBA ADDR B1 B2 B3 B4 F:\ECE567\jrECE 567\42TEMP_device.asm
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 9

42TEMP_device - ADDR B1 B2 B3 B4 F:\ECE567\jrECE...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online