2. A Microprocessor is an important part of a computer architecture without which you will not...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. A Microprocessor is an important part of a computer architecture without which you will not be able to perform anything on your computer. It is a programmable device that takes in input performs some arithmetic and logical operations over it and produces the desired output. a. Your task is the Identification of the different types of microprocessor and their applications. Also write down why these applications required microprocessor. 4. subroutine (10 pts) [MSP430 Microcontroller Basics, section 4.6] a. When a subroutine is called, what happens to the stack? b. What would happen if a subroutine changes the top value of the stack? c. What instruction enters a subroutine? d. What instruction returns from a subroutine? e. How do you pass parameters to a subroutine? .text mov.w mov.w mov.w push.w push.w call pop.w pop.w jmp add.w add.w ret #1, R10 #4215h, R8; data 1 #38A6h, R9; data 2 ending: jmp R8 R9 #subroutine subroutine: ; subroutine adds value in R10 to data values on stack R10,2 (SP) R10,4(SP) R9 R8 ending ; infinite loop to end program f. In this program, why are 2(SP) and 4(SP) used to address the values on the stack? g. In this program, how were parameters passed to the subroutine? 2. A Microprocessor is an important part of a computer architecture without which you will not be able to perform anything on your computer. It is a programmable device that takes in input performs some arithmetic and logical operations over it and produces the desired output. a. Your task is the Identification of the different types of microprocessor and their applications. Also write down why these applications required microprocessor. 4. subroutine (10 pts) [MSP430 Microcontroller Basics, section 4.6] a. When a subroutine is called, what happens to the stack? b. What would happen if a subroutine changes the top value of the stack? c. What instruction enters a subroutine? d. What instruction returns from a subroutine? e. How do you pass parameters to a subroutine? .text mov.w mov.w mov.w push.w push.w call pop.w pop.w jmp add.w add.w ret #1, R10 #4215h, R8; data 1 #38A6h, R9; data 2 ending: jmp R8 R9 #subroutine subroutine: ; subroutine adds value in R10 to data values on stack R10,2 (SP) R10,4(SP) R9 R8 ending ; infinite loop to end program f. In this program, why are 2(SP) and 4(SP) used to address the values on the stack? g. In this program, how were parameters passed to the subroutine?
Expert Answer:
Related Book For
Posted Date:
Students also viewed these computer network questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Describe the general process used to determine the ULRD using AICPA sampling tables?
-
Fad City sells novel clothes that are subject to a great deal of price volatility. A recent item that cost $22.00 was marked up $12.60, marked down for a sale by $5.40 and then had a markdown...
-
Derive an expression for shear stress and deflection in a helical spring subjected to an axial force.
-
You want to invest your savings of S$28,000 (Singapore dollar) in Singapore Government Securities (SGS) for the next 2 years. Currently, you can invest either in a security that pays interest of 7.5...
-
Refer to the data in the preceding exercise for Golden Gate Construction Associates. The company has two divisions: the real estate division and the construction division. The divisions total assets,...
-
You are given an undirected graph consisting of n vertices and m edges. It is guaranteed that the given graph is connected (i. e. it is possible to reach any vertex from any other vertex) and there...
-
(a) Prepare income statements for January and February for Fazli, Gervais, and Consolidation. Break down cost of sales into its three components. (b) Now assume that Fazli uses the equity method to...
-
6. (10 points) Northern Lights Corp. stock trades at $55 per share and there are 72 million shares outstanding. The management would like to raise $190 million in an SEO. If the underwriter charges...
-
Yankee Construction agreed to lease payments of $762.79 on construction equipment to be made at the end of each month for six years. Financing is at 15% compounded monthly. (50 points) a) What is the...
-
Consider the sequence {0} ZZ6 Z3 {0} Z-modules Z2,Z3,Z6 and Z-module homomorphisms f and g, where f(m) = 3m for m Z and g(n) 2n mod 3 for n E Ze. Show that the sequence is a split exact sequence....
-
A technician for a concrete engineering firm must perform a compression test on a cylindrical piece of concrete that is 6" in diameter and 12" high. What is the volume of the concrete
-
Firm A's common stock has a par value per share of $1, market value per share of $90, earnings per share of $5, dividends per share of $2, and a book value per share of $60. What is Firm A's dividend...
-
In the 1950s and 1960s, most families ranked replacing a breadwinner's income as a very high priority. This led to a wide distribution of life insurance. Today, what financial goals rank higher than...
-
1) If the sections shown below is subjected to a negative bending moment of 10kN.m, draw the 3D bending stress distribution for your relevant section as per the colours on the class list. Please show...
-
-4 1 9. Let A = Find A-1, (A") and verify that (A")= (A-1)".
-
On August 31, 2019, Angela Corp. (AC) classified a surplus machine as held for sale. The equipment is available for immediate sale and is expected to sell within one year. Pertinent information...
-
The opening vignette in this chapter mentions the significant amount of cash held onsite at casinos. Relating to this cash, it is commonly asserted that video cameras are the most basic level of...
-
Acorn Mines began developing an open pit copper and zinc mine in northern Ontario in April of 2014. As part of the regulatory approvals to develop and to extract minerals from the site, the company...
-
Consider the logistic map discussed in the text. To gauge the density of bifurcations, one uses a measure of distance between fixed points as follows. Define \(d=x^{*}-(1 / 2)\) as the distance...
-
Consider a particle in a Newtonian potential \(V(r)=-k / r+\epsilon / r^{n}\) for some integer \(n\). Using the alternate variable \(u=1 / r\), (a) show that the radial equation of motion can be put...
-
Consider the equation of motion \[\frac{d^{2} u}{d \varphi^{2}}+u-\frac{1}{p}=3 \lambda u^{2}\] where \(p\) and \(\lambda\) are constants. Find the solution using perturbation theory to first order...
Study smarter with the SolutionInn App