CH1 - 96 40 LDAA $40 8B F8 ADAA#$F8 97 40 STAA $40 96 41...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Rick Wagoner IET645 – Spring 2006 Chapter 1 Exercises E1-12. Write an instruction sequence to subtract 4 from memory locations $00 to $02. LDAB #4 LDAA $00 SBA STAA $00 LDAA $01 SBA STAA $01 LDAA $02 SBA STAA $02 E1-17. Translate the following assembly instructions into machine instructions using Table 1.5. LDAA #$20 86 20 ADDA $10 9B 10 LDAB #$90 C6 90 STD $00 DD 00 E1-19. Disassemble the following machine code into 68HC11 assembly instructions using Table 1.5. 96 40 8B F8 97 40 96 41 8B FA 97 41
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 96 40 LDAA $40 8B F8 ADAA #$F8 97 40 STAA $40 96 41 LDAA $41 8B FA ADAA #$FA 97 41 STAA $41 E1-22. Determine the number of read and write cycles performed during the execution of the following instructions: LDAA $00 3 read cycles LDAB $01 3 read cycles STAB $00 3 write cycles LDAB $02 3 read cycles STAB $01 3 write cycles STAA $02 3 write cycles These instructions would generate 9 read and 9 write cycles for a total of 18 cycles....
View Full 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