Generate an integer result as close as possible to answer

Assignment Help Electrical Engineering
Reference no: EM13280909

Write and test an assembly language program that solves the following straight-line equation for y. Generate an integer result as close as possible to the actual answer. Assume variable x is always positive and x is an 8 bit number.
y = m*x + b
The slope (m) is equal to .68 and the offset (b) is equal to 12. Leave the result (y) in accumulator A. Assume value x is in location Val. Note the result will always fit in 8 bits.
Additional Lab. Write and test an assembly language program that solves the following equation for y, where x is an 8 bit number .
y = m*x2 + b

Reference no: EM13280909

Questions Cloud

Which electrical meter are self-powered from internal source : which electrical meters are self-powered from an internal source such as a battery, and which meters draw their power frm the circuit to which they are attached
Discuss how word of mouth communication affects promotion : Discuss how word of mouth communication affects promotion. Give an example of a time when you made a decision to purchase something because of a recommendation from a friend or family member.
Determine the fourier series representation of the signal : Determine the Fourier Series representation of the signal x(t)=-1-2cos(27pi(t)-(pi/4))+cos(63pi(t)-(pi/2)).Sketch the two-sided spectrum of the same signal above.
Find line current when transformers are operating at no load : hree 150 kVA, 480 V/4000, 60 Hz single phase transformers are to be installed on a 4000 V, 3 phase line. The exciting current has a value of 0.02 pu. Calculate the line current when the transformers are operating at no load.
Generate an integer result as close as possible to answer : Write and test an assembly language program that solves the following straight-line equation for y. Generate an integer result as close as possible to the actual answer. Assume variable x is always positive and x is an 8 bit number.
Determine the velocity of the satellite : A 199.9 kg satellite is in a circular orbit of 26,273 miles (42,300,000 m) in radius. What is the velocity (speed) of the satellite
How large will the last deposit be : How large will the last deposit be? Round your answer to the nearest cent.
What is conversion constructor : What is conversion constructor? What is conversion operator? What is diff between malloc()/free() and new/delete?
Determine the magnitude of the magnetic force on the proton : A proton travels with a speed of 3.00 ? 106 m/s at an angle of 55.0° with the direction of a magnetic field of 0.520 T in the +y direction. determine the magnitude of the magnetic force on the proton

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the transistors emitter current of bjt amplifier

In a swamped common-emitter BJT amplifier, as shown below, if Vcc = 12 V, R1 = 8.2 k , R2 = 10 k , Rc = 500 , RE = 1 k , VBE = 0.7 V, and = 100, what is the transistor's emitter current

  Find the average velocity of the electrons in the wire

A copper wire has a diameter o 2.05mm and carries a current of 5 A due solely to electrons. (These values are common in residential wiring) Each electron has a charge of 1.60x10^-19C. find the average velocity of the electrons in the wire

  Find the output by taking the inverse laplace transform

1. Find the transfer function 2. Find the Laplace transformation of the output when x(t)=sin(t)u(t) 3.Find the output by taking the inverse Laplace transform of part 2.

  Determine the electric and potential in dielectric region

The upper and lower conducting plates of a large parallel-plate capacitor are separated by a distanced and maintained at potentials V0 and 0, respectively. A dielectric slab of dielectric constant 6.0

  Design machine based on interactions of rotating e-field

draw a possible three phase motor that is based on two rotating electric fields and explain 1) the basic principle; 2) the drawback of the electric field based machine when it is compared to magnetic field based machines

  How much power is dissipated by a resistor in series

(1) How much power is dissipated by a 2.4 k resistor in series with a 12V power supply (2) Determine the result of dividing the squares of 12V by 3.3 k ohms.

  How to to make the and-or implementation less expensive

determine whether a three-bit number, a3, a2, a1, is equal to another number, b3, b2, b1, or if it is greater than that number. (We do not need an output for less than.) a. Show how the 7485 would be connected to accomplish

  What is the ber at the output of the receiver in clear air

What is the BER at the output of the receiver in clear air conditions, and the average time between errors? Give your answer in years, days, or hours as appropriate. Assume an implementation margin of 0.5 dB.

  Find the amount of work required for rearranging the charge

Find the amount of work required for rearranging a uniformly distributed surface charge Q of radius a into a uniformly distributed volume charge of radius a how can i do this problem in 2 different ways.

  Explain a production plant has a requirement for a counter

A production plant has a requirement for a counter that will count 4,000 times before recycling and starting over. How many flip flpos are required?

  What are the sample values of a certain causal signal

Suppose a certain causal signal f(t) has a Laplace transform F(s) = 1. If f(t) is sampled at times kT where T is a constant time interval and integer k>=0, what are the sample values

  What is the minimum number of bits required

What is the minimum number of bits required to represent each of the following decimal numbers: 10, 1000, 100,000, and 1,000,000?

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