2. For each of the instructions highlighted (boldface), derive the effective address of the memory variable...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. For each of the instructions highlighted (boldface), derive the effective address of the memory variable (source) if any memory variable is involved, and the contents of the register a or d (whichever one involved) right after the instruction is executed. Answer in hexadecimal. Assume that all of the bytes in the variables va, vb and vc are initially 0. RAMStart EQU ROMStart EQU $0900 $4000 ORG RAMStart va DS.B 1 vb DS.B 5 VC བོ DS.W 5 vd DC.B ve DC.W 1,10,$9C, "12" 2,20,$90A,$914, "3",$0, "00", "abc" ORG ROMStart Idaa #$34 ldd #$901 ldd $901 Idaa vb Idaa $913 ldx #ve Idaa 0,x Idaa 3,x ldx #vd Idaa 8,x+ Idaa 5,-x Idab #$0B Idaa b,x ldy #$912 Idaa ldd [7,y] #9 Idaa [d,y] rts 2. For each of the instructions highlighted (boldface), derive the effective address of the memory variable (source) if any memory variable is involved, and the contents of the register a or d (whichever one involved) right after the instruction is executed. Answer in hexadecimal. Assume that all of the bytes in the variables va, vb and vc are initially 0. RAMStart EQU ROMStart EQU $0900 $4000 ORG RAMStart va DS.B 1 vb DS.B 5 VC བོ DS.W 5 vd DC.B ve DC.W 1,10,$9C, "12" 2,20,$90A,$914, "3",$0, "00", "abc" ORG ROMStart Idaa #$34 ldd #$901 ldd $901 Idaa vb Idaa $913 ldx #ve Idaa 0,x Idaa 3,x ldx #vd Idaa 8,x+ Idaa 5,-x Idab #$0B Idaa b,x ldy #$912 Idaa ldd [7,y] #9 Idaa [d,y] rts
Expert Answer:
Answer rating: 100% (QA)
D 801 D value at memory 801 ADA value in vb 0 A value at location ... View the full answer
Related Book For
Computer Architecture Fundamentals And Principles Of Computer Design
ISBN: 9781032097336
2nd Edition
Authors: Joseph D. Dumas II
Posted Date:
Students also viewed these programming questions
-
In() = -kt The given equation represents the logarithmic form of Newton's law of cooling, which states that the temperature T of an object at time t satisfies the given equation, where To is the...
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
Over the last few years, we have started to see some retailers open earlier and earlier on Thanksgiving Day. Others have taken a different approach and decide to remain closed. Is it a good strategy...
-
Alliance Printing Supply of Baltimore has applied for a loan. Its bank has requested a budgeted income statement for April 2018 and a balance sheet at April 30, 2018. The March 31, 2018, balance...
-
A law practice was incorporated on January 1, 2014, and expects to earn $25,000 per month before deducting the lawyer's salary. The lawyer owns 100% of the stock. The corporation and the lawyer both...
-
The Drosselmeier Corporation, which makes Christmas nutcrackers, has an annual plant capacity of 2,400 product units. Its predicted operating results (in Euros [EUR]) for the year are Production and...
-
Many fast-food restaurants compete on lean business concepts. Match each of the following activities at a fast-food restaurant with the lean business concept it strives to achieve. Some activities...
-
Exercise 13-3 (Algo) Computing and analyzing trend percents LO P1 Sales Cost of goods sold Accounts receivable 2021 $ 553,880 284,979 26,808 2020 $ 366,808 188,672 21,458 2019 $ 303,147 157,905...
-
Pacific Cruise Lines is a defendant in litigation involving a swimming accident on one of its three cruise ships. Required: For each of the following scenarios, determine the appropriate way to...
-
Accounting. A coal company invests $15 million in a mine estimated to have 20 million tons of coal and no salvage value. It is expected that the mine will be in operation for 5 years. In the first...
-
3 . You are replacing an old natural gas fired furnace, the old furnace was firing at 1 4 0 MBtuh. The heat loss calculations determined that the house, 1 2 0 0 square feet required 4 5 Btuh / square...
-
The skin friction coefficient of a laminar boundary layer developing over a flat plate is measured as 0 . 0 0 3 8 3 , a certain distance downstream of the leading edge of the plate. The working fluid...
-
Hilary Corp. contracted with a company to build a storage warehouse in Year 1 . Construction began in April 1 at which time Hilary Corp. paid $ 6 5 , 0 0 0 . Hilary Corp. then made additional...
-
All but which of the following cautions have been raised about using RTI as a means of identifying students with learning disabilities? RTI often fails to identify students in the early elementary...
-
Find the real polynomial of lowest degree with Complex roots at 2 + i and 4 + 4 i Real root at 1 Leading coefficient 1
-
. Company has issued a bond with par value of E 500,000 and coupon rate of 12 percent paid annually. The bond matures in 3 years. What is the current value of this bond if the required rate of...
-
A consumer magazine is evaluating five brands of trash compactors for their effectiveness in reducing the volume of typical household products that are discarded. In the experiment, each block...
-
If a manufacturers brochure states that a given system can perform I/O operations at 1500 MB/s, what questions would you like to ask the manufacturers representative regarding this claim?
-
Describe the technologies used to implement computers of the first, second, third, fourth, fifth, and sixth generations. What were the main new architectural features that were introduced or...
-
Define and describe virtual memory. What are its purposes, and what are the advantages and disadvantages of virtual memory systems?
-
Joe Dunham Inc. is preparing its annual budgets for the year ending December 31, 2003. Accounting assistants furnish the following data. An accounting assistant has prepared the detailed...
-
What is this project's NPV? a. $242.86 b. $278.53 c. $295.42 d. $307.98 Assume that the appropriate cost of capital for this project is 12 percent. Time Cash Flow 0 -$750 1 $400 2 $300 3 $200 4 $400
-
Assume that ABC Corp. just paid a dividend of $1 a share and that all future dividends are expected to grow at the rate of 9 percent per year. If the required rate of return for this stock is 15...
Study smarter with the SolutionInn App