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

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Week 4 Week 4
Image of page 1

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

View Full Document Right Arrow Icon
SU 2005 EE 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
Image of page 2
SU 2005 EE 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
Image of page 3

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

View Full Document Right Arrow Icon
SU 2005 EE 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)
Image of page 4
SU 2005 EE 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 13 B = $91 LDX #0004 LDD 7,X X = 0004 D = $76CA LDAA #$45 LDAB #$12 STD $0008 M[$0007] = $00 M[$0008] = $45 M[$0009] = $12
Image of page 5

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

View Full Document Right Arrow Icon
SU 2005 EE
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern