Determine sum of the largest two numbers and store its value

Assignment Help Electrical Engineering
Reference no: EM13256540

Assume that the memory locations M[$20], M[$21] and M[$22]. Write a 68HC11 assembly language program (with lots of comments) that will determine the sum of the largest two numbers and store its value in M[$23].

Example: If memory locations contain the following:

M[$20] = $10

M[$21] = $FF

M[$22] = $20

Then your program should write the following in memory:

M[$23] = $30 ; the largest sum is M[$20] + M[$22] = $30

Your program should work for any numbers that are stored in M[$20], M[$21], and M[$23].

Reference no: EM13256540

Questions Cloud

Find the shear modulus of the wood : A plank 2.00 cm thick and 15.1 cm wide is firmly attached to the railing of a ship by clamps so that the rest of the board extends 2.00 m horizontally over the sea below. find the shear modulus of the wood
Compute the average collection period : Sanders' Prime Time Company has annual credit sales of $2,592,000 and accounts receivable of $604,800. Compute the average collection period. (Use 360 days in a year.)
What explains this large annual temperature range : Were latitude the only control of temperatures, the isotherms would run straight across the maps from east to west. Describe one region of the world where this hypothetical isotherm pattern is actually observed.
The dehydration occurred and an optically inactive alkene b : Despite its apparent unsaturation, no hydrogen was absorbed on catalytic reduction over a Pd/C catalyst. On treatment of A with dilute H2SO4, dehydration occurred and an optically inactive alkene B, C11H14 was produced as the major product.
Determine sum of the largest two numbers and store its value : Assume that the memory locations M[$20], M[$21] and M[$22]. Write a 68HC11 assembly language program (with lots of comments) that will determine the sum of the largest two numbers and store its value in M[$23].
What is the expected angle of refraction in sheet : Three sheets of plastic have unknown indices of refraction. Sheet 1 is placed on top of sheet 2, and a laser beam is directed onto the sheets from above, what is the expected angle of refraction in sheet 3
Draw a circuit that can scale the voltage from the range : 1. Draw a circuit that can scale the voltage from the range of 0~200 mV to the range of 0 ~ 10V. 2. Draw a circuit that can scale the voltage from the range of -200 mV ~0 V to the range of 0 ~ 10V . 3. Draw a circuit that can scale the voltage from t..
Income division section of the income statement : Clinton and Dole had capital balances of $120,000 and $180,000 respectively at the beginning of the current fiscal year. The articles of partnership provide for salary allowances of $18,000 and $20,000 respectively,
What is the wavelength of the waves on the string : On a 7.2 m length of string, you count 5 crests and 4 troughs. What is the wavelength of the waves on the string

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Identify the systems-type and the input-type part

y(t) + 0.2(dy(t)/dt) = x(t) a. Find y(t) if x(t) = 6(e^-2t)u(t) and y(0) = 3. b. In a. identify the zero-input and the zero initial condition part. c. In a, identify the systems-type and the input-type part.

  Write a sequence of instructions to initialize and run timer

051 Microprocessor a. Write a sequence of instructions to initialize and run the timer to geneate an 800 baud rate clock. b. what would be the baud rate if the intial value of the itimer was set to 9AH

  What is the magnitude of the impedance at the frequency

A series-resonant RLC circuit has R = 80 ?, L=25mh, and C=10pF. A) Sketch and label the circuit. B) Find fo, the resonant frequency. C) At what frequency is impedance a minimum D) What is the magnitude of the impedance at this frequency

  What is the wavelength of the incident photon

An incident -ray photon is scattered from a free electron that is initially at rest. The photon is scattered straight back at an angle of 180 degrees from its initial direction. The wavelength of the scattered photon is 9.00×10^-2 nm.

  Calculate the phase voltage and line voltage

A three 120 - V power line is Y-connected. The three phase outputs are marked as a,b,c. The neutral is marked as n. The phase sequence is abc. It is connected to a balanced Y- connected load, with the impedance is 12 + j 9 omega.

  State whether or not system is linear and time invariant

For each of the following systems with input x(t) and output y(t), state whether or not the system is (i) Linear and (ii) Time Invariant. Note that x(t) could be any complex valued signal.  (a) y(t) = a^2 x(t), where a is a complex number.

  What is the capacitance of the capacitor in microfarads

An 80KHz sinusoidal voltage has zero phase angle and a maximum amplitude of 20 mV. When this voltage is applied across the terminals of a capacitor, the resulting steady state current has a maximum amplitude of 0.7 mA.

  Find the rms input noise power level

When the amplifier is operating with a bandwidth first of 10MHz, find? 1) The RMS input noise power level? 2) The audio output power level? 3) The RMS output noise power level?

  Determine the line impedance of thje souece

In a balanced three-phase wye-wye system, the load impedance is 4 + j3 . The source has phase sequence abc and Van = 120

  What are the x and y componenets of its acceleration

A small object with mass 3.20 kg moves counterclockwise with constant speed 5.50 m/s in a circle of radius 4.20 m centered at the origin. It starts at the point with position vector (4.20i hat + 0 j hat ) m. T

  What is the last byte number that can be sent without an ack

Two stations running TCP/IP are engaged in transferring a file. This file is 104KB long, the payload size is 100 bytes, and the negotiated window size is 2000 bytes. The sender receives an ACK 900 from the receiver.

  Design the circuit to create pulse using j-k flip flops

moore sequential circuit has one input and one output, that creates a pulse when ever its input signal goes from 1 to 0 after this pulse a new pulse will not be given unless the input signal is again returned to 1 and then tranistion back to 0.

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