Explain what are the new contents of registers a4 and a7

Assignment Help Electrical Engineering
Reference no: EM13859636

1. 68000 register AS contains $008132A0 and register A7 contains $002FCE00. Then the following instruction is executed:
LINK A5,#-24

Draw a memory map showing the state of the relevant range of memory after this instruction executes. What are the new contents of registers A4 and A7?

(Hint: Consult the LINK instruction in the 68000 Instruction Set manual and follow its steps carefully.)

2. Write a 68000 assembly subroutine (not a main program!!) that will scan memory locations from the address in A2 through the address in A3 and count how many bytes contain the number $4A. You can use data registers and address registers as needed, but your subroutine should finish by placing the total number of bytes containing the number $4A into register DO as a longword, then returning to the main program. Assume that the contents of A3 Is a larger number than the contents of A2.

3. The following 68000 assembly program is syntactically correct, but has a major problem. Why doesn't it work properly? Explain.

(Hint- If you don't see the error, try it on Easy68K and watch what happens.)

ORG $5000
MOVE.B #100,D1
MOVEA.L #$004FEO,A1
MORE NOT.W (A1)+ SUB.B #1,DI SNE MORE
STOP #$2700 END $5000

Reference no: EM13859636

Questions Cloud

Explain how you may implement the marketing strategy : Explain how you may implement the marketing strategy that you have chosen? Consider creative and innovative way to implement the marketing strategies.
How has the cycle of violence manifested in the king family : Identify/define the 4 stages of the cycle of violence. How has the cycle of violence manifested in the King family? Identify when the family has entered a particular phase in the cycle, and give your rationale
What data collection techniques would you use : What data collection techniques would you use to study this hypothesis and why? Assuming that you get a correlation of r = -.70, what does this tell you about the strength and direction of the correlation between satisfaction and absenteeism
Offshoring-monopolistic competition : Problem 1: (Offshoring) A good is produced using three production activities (a, b, and c) that each use skilled and unskilled labor. The table below shows the number of skilled and unskilled workers needed to produce one unit in each production s..
Explain what are the new contents of registers a4 and a7 : Draw a memory map showing the state of the relevant range of memory after this instruction executes. What are the new contents of registers A4 and A7
Quarterly sales of its product : For 2008-2014, a company has collected the following data on quarterly sales of its product.
Federal reserve say about the strength of the economy? : What does the Federal Reserve say about the strength of the economy?
Is this a good strategy : Two consumers Justin and Cindy of the same product have the following demand curves: Q1 = 500 – 10 P and Q2 = 500 – 20 P. The marginal cost (MC) for the firm is $10. Calculate the prices when the firm discriminates between the two consumers. Is this ..
Estimate the demand equation : As the manager of a restaurant, you decided to estimate the demand equation for your specialty food. After careful statistical analysis,your estimation resulted in the following demand equation. All parameters are statistically significant at the ..

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the importance of the magnetic vector potential a

Consider a magnetic dipole carrying a current I. a. Calculate the magnetic flux density B at a point P specified in spherical coordinates. Express the answer in terms of the magnetic dipole moment m. Justify all the assumptions adopted.

  What does a carry-out in the fifth place indicate

Assume that you are adding two 4-bit numbers. What does a carry-out (in the fifth place) indicate. Does this carry-out indicate something different when we add two positive numbers, a positive and negative number, or two negative numbers.

  Determine the dc output voltage at full load

A full-wave rectifier circuit having centre-tapped transformer has 500 turns in its primary winding, 25 turns from one end of the secondary winding to the centre tap and 20 turns from the other end of secondary winding to the centre tap.

  Which design of counter allows the user to set the pwm value

Using counters and state machines, use one slide switch to either read the switches that would set the duty cycle (count up to value) or cause the PWM to be running. If the slide switch is a ‘0' then the design allows the user to set the PWM valu..

  Find the minimum sampling frequency of the a-d converter

our senior design team is designing a force sensor to measure a force signal and analyze the signal with a microcomputer (binary system). The analog force signal is between 10 N and 70 N and has the frequency bandwidth of DC - 1000 Hz.

  Find the output for the given input data

2) Draw the logic circuit for each of the following. For each gate, determine EVEN or ODD parity and find the  output for the given input data: a) 4-input XOR, input data=1001 b) 5-input XOR, input data-10010 c) 6-input XOR, input data=101001 d) 7-..

  Determine the resistivity of the silicon material at 300k

A silicon wafer is uniformly doped with 5.5 X 10^16 phosphorus atoms/cm^3 and 4.5 X 10^16 boron atoms/cm^3. a) Find the electron and hole concentrations, the electrons andhole mobilities, and the resistivity of this silicon material at300K.

  Find the voltage induced in the conductor if driver rotates

A conductor 1 cm long is oriented parallel to the z axis a distance r = 25 cm from the origin and rotates at a speed of 1200 revolutions / minute. Find the voltage induced in the conductor if the driver rotates

  Determine the zin if the lines are 0.5 m long

A lossless line having an air dielectric has a characteristic impedance of 100 Ohms. Another line that is identical in dimensions to the air line is fabricated with the air displaced by a dielectric material have an \(\epsilon_{r}\) value of 4.

  Find a minimal sum-of-products expression for each function

with karnaugh maps, find a minimal sum-of-products expressionfor each of the following logic functions. Indicate thedistinguished 1-cells in each map a) F = ΣA,B,C,D (1,4, 5, 6,11, 12,13,14,15) b) F = ΣA,B,C,D (0, 1, 2,5, 8, 9,10, 11,12)

  What is a typical unamplified ecg voltage amplitude

What is a typical unamplified ECG voltage amplitude Why is common mode rejection so important for ECG measurement

  What is average velocity of an electron throughout the wire

A current of 1600 A exists in a rectangular (0.4-by-16cm) bus bar. The current is due to free electrons moving through the wire at an average velocity of v meters/second. If the concentration of free electrons is 10^29 electrons per cubic meter

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd