



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Web code: Score:
Last name:
First name:
Signature:
ECE 367 - Microprocessor-Based Design Midterm Examination (7 pages, 26 problems: 50 minutes, closed book and notes.) No electronic devices other than a calculator are permitted.
IMPORTANT: Please be aware that academic dishonesty will result in grade E for the course, and possibly dismissal from the University. Looking at another exam paper, showing someone your exam paper, violating the closed book/notes rule, or otherwise communicating exam problem information to/from another student during the exam is considered to be academically dishonest. Should you have any questions about this policy or about any of the exam questions, please step up to the front and ask the instructor for clarification.
a) unsigned binary:
b) signed binary:
a) unsigned binary:
b) signed binary:
LDAA #$FF DECA
a) INC 0,Y b) CMPB #$0A c) RTS d) RTI
a) INC 0,Y b) CMPB #$0A c) RTS d) RTI
a) JMP Delay b) JSR Delay c) RTS d) RTI
LDAB 0,Y $18 $E6 $00_
BRA * ________________
ADDD #01 ________________
PORTB EQU $ LDX #$
Loop: LDAA #$FF (2) STAA PORTB,X (4) LDAA #$00 (2) STAA PORTB,X (4) NOP (2) NOP (2) NOP (2) BRA Loop (3)
PORTB EQU $ LDX #$ CLRA
Loop: EORA #$FF (2) STAA PORTB,X (4) NOP (2) BRN Loop (3) EORA #$FF (2) STAA PORTB,X (4) NOP (2) BRN Loop (3) EORA #$FF (2) STAA PORTB,X (4) NOP (2) BRA Loop (3)
Hz
Prescaling factor N = ___ , ∆TCNT = ____________
a) active high b) active low
a) active high b) active low
MC68HC microcontroller (^) PB PB PB PB PB PB
a b c d e f g
common anode
a b c d
f e
g
PB
PB
Port B = $ __ __
Page: ( ) (^10)
Circle one: True False
a)
b)