ECE-567-04

ECE-567-04 - Week 4 Week Quiz 1 Statistics Mean: 7.8...

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

View Full Document Right Arrow Icon
Week 4 Week 4
Background image of page 1

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

View Full DocumentRight Arrow Icon
SU 2005 ECE 567 Microprocessor Labs 2 4 - Quiz 1 Statistics Quiz 1 Statistics Mean: 7.8 Median: 8 Min: 4 Max: 10 Lowest quiz is dropped Ask if have questions, material or grading
Background image of page 2
SU 2005 ECE 567 Microprocessor Labs 3 4 - Quiz 1 Solutions Quiz 1 Solutions 1. (2 points) What is the addressing mode of CLRA ? Inherent What is the addressing mode of BEQ LOOP ? Relative What is the addressing mode of LDAB #$56 ? Immediate What is the addressing mode of LDAA $F,X ? Indexed 2. (1 point) State specifically what the advantage of LDAA $XX is over LDAA $XXXX. Use with RAM ($0000-$00FF) Advantages Less space in memory Executes faster
Background image of page 3

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

View Full DocumentRight Arrow Icon
SU 2005 ECE 567 Microprocessor Labs 4 4 - Quiz 1 Solutions contiuned Quiz 1 Solutions contiuned 3. (3 points) Led(7) Led(6) Led(5) Led(4) Led(3) Led(2) Led(1) Led(0) On Off Off On Off On On On %0 1 1 0 1 0 0 0 $ 6 8 PORTB EQU $1004 ORG $100 LDAA #%01101000 ; ($68 or 104) STAA PORTB ; (or $1004)
Background image of page 4
ECE 567 Microprocessor Labs 5 4 - Quiz 1 Solutions contiuned Quiz 1 Solutions contiuned Memory Map Data $0000 $87 $0001 $63 $0002 $22 $0003 $78 $0004 $00 $0005 $60 $0006 $BF $0007 $00 $0008 $21 $0009 $11 $000A $AD $000B $76 $000C $CA $000D $91 $000E $00 $000F $34 $0010 $6D $0011 $DD LDAB
Background image of page 5

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

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

Page1 / 16

ECE-567-04 - Week 4 Week Quiz 1 Statistics Mean: 7.8...

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

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