This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 525.412 Computer Architecture Assignment 2 Solutions 2.3 According to the discussion in Section 2.2.1, how many instructions would the MC6800 have to execute to move a 128-bit floating point-number from one memory location to another? Solution There really isnt a discussion on this subject in Section 2.2.1. The only mention of the MC6800 is in Table 2.1 on page 37, where one example of an MC6800 1 instruction states that a single byte can be loaded at a time. If we assume that a similar limit applies to storing data into memory, then it would take two instructions to move one byte of data from memory to an accumulator and from there to a new memory location. There are 16 bytes in 128 bits so the whole process would have to be repeated 16 times, making 32 instructions. If additional instructions were required to advance pointers to the different memory locations, these would have to be added in, too. On the other hand, if there existed an instruction to perform a load and store in a single instruction, the number would be reduced to 16. Section 2.2.1 does notand store in a single instruction, the number would be reduced to 16....
View Full Document
- Spring '10
- Computer Architecture