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

  Find the operating point id-vds of the drain-source port

The output-port(drain-source terminals) of an n-channel depletetion -mode MOSFET with parameters K=0.25mA/V^2 and Vtr= - 2Vis connected to a Thevenin circuit consisting of Vdd=7V andRd=1.5kOhm.

  Design a current divider that provides a 1-2 current split

Design a current divider that provides a 1:2 current split. Observe the current and power limitations. Another design constraint is that inserting current meters to measure the current division ratio must not upset this ratio

  How to determine the line current at starting

A 3-phase cage rotor induction motor has a full load slip at 5% . The standstill current at rated voltage is 6.5 times full load current . Find autotransformer tapping to give full load torque at starting and also find the line current at starting..

  What is the amount of charge stored in the capacitor

A 1000-μF capacitor is fully charged to 10 V. What is the amount of charge stored in the capacitor. How much energy isstored.

  Determine the peak current and peak inverse voltage

A 20-V-rms 60-Hz ac source is in series with an ideal diodeand a 100 Ω resistance. Determine the peak current and peak inverse voltage for the diode.

  Determine the resistance of the filament

The resistance of the filament of the bulb, measured with a standard multimeter, is 16.7 ohms. When the bulb is connected into the circuit and is operating at the rated values given above determine a) the resistance of the filament b) the efficien..

  Claculate the network real and reactive powers

A 150 MVA, 24 kV, 125% three-phase synchronous generator supplies a large network. The network voltage is 27 kV. The generator operates with an induced voltage, which is twice the rated line-to-neutral voltage.

  What rotational frequency is in rotations per second

To understand this, imagine we paint one of the blades of an airplane propeller so that we can identify it from the other blades. We will then turn the propeller at 33 rotations per second, in a clockwise direction.

  Write the boolean equation for emergency

A jet has 4 engines. Each engine gives a FAIL signal which is TRUE if the engine is broken, and is FALSE if the engine is working fine. The plane can fly as long as at most 1 engine is broken.

  At which zero power is being delivered to the resistor

A sinusoidal voltage source vs = 100cos 105t V, a 500Ω resistor, and an 8 mH inductor are in series. Determine those instants of time, 0≤t

  Determin the total line current drawn from the supply

A 415V 50 Hz three phase supply has been divided into three balanced loads, as follows: LOAD 1 (STAR): 15 kVA at a power factor of 0.60 lagging; LOAD 2 (DELTA): 24 kW at a power factor of 0.55 lagging;

  Find the motors running speed and the power output

A permanent magnet motor is driving a load that requires 0.08Nm.The motor data is:RA =2W, VA =12v,Kt =0:05Nm/A ,KG = 0:004 V/RPM . Find themotors running speed and the power output.

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