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

Info iconThis 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
Background 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

This note was uploaded on 09/12/2011 for the course EEL 4742 taught by Professor Weeks during the Spring '11 term at University of Central Florida.

Ask a homework question - tutors are online