41 - LDAA PORTC LDAB #$F0 CBA BEQ ENDSCAN ANDA #$0F STAA...

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

View Full Document Right Arrow Icon
;Part 4.1 COLVAL EQU $1F0 ROWVAL EQU $1F8 PORTB EQU $1004 PORTC EQU $1003 DDRC EQU $1007 ORG $0 LPID FDB 17 TABLE FCB %11010111 FCB %11101110 FCB %11011110 FCB %10111110 FCB %11101101 FCB %11011101 FCB %10111101 FCB %11101011 FCB %11011011 FCB %10111011 FCB %11100111 FCB %11010111 FCB %10110111 FCB %01111110 FCB %01111101 FCB %01111011 FCB %01110111 ORG $100 BODY BSR SCAN COMA STAA PORTB BRA BODY SCAN LDAA #$F0 STAA DDRC LDAA #$00 STAA PORTC
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: LDAA PORTC LDAB #$F0 CBA BEQ ENDSCAN ANDA #$0F STAA COLVAL LDAA #$0F STAA DDRC LDAA #$00 STAA PORTC LDAA PORTC ANDA #$F0 ORAA COLVAL LDX #$00 SCANLP CMPA TABLE,X BEQ EQUAL INX CPX LPID BNE SCANLP BRA ENDSCAN EQUAL XGDX TBA LDAB #12 CBA BGE SUBONE RTS SUBONE DECA RTS ENDSCAN LDAA #$FF RTS END...
View Full Document

This note was uploaded on 10/08/2011 for the course ECE 567 taught by Professor Staff during the Spring '08 term at Ohio State.

Page1 / 2

41 - LDAA PORTC LDAB #$F0 CBA BEQ ENDSCAN ANDA #$0F STAA...

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

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