Write lc-3 program that reads string of uppercase alphabet

Assignment Help Electrical Engineering
Reference no: EM13286091

Write an LC-3 program that reads a string of uppercase alphabet characters (A-Z) and prints out the corresponding lower case characters. The input string will be terminated by a ".". The output string should be printed on a new line after all of the input has been read. Your code should ensure that the input characters are, in fact, part of the upper case alphabet. In the event of an incorrect input, your code should print a message indicating the offending character and exit. You may assume a maximum of 10 input characters.

Reference no: EM13286091

Questions Cloud

Determine the current in the tube : A potential difference is applied between the electrodes in a gas discharge tube. In 1.7 s, 3.2 1016 electrons, What is the current in the tube
State potential energy of the system reaches lowest value : Bond length is the distance between the centers of two bonded atoms. On the potential energy curve, the bond length is the internuclear distance between the two atoms when the potential energy of the system reaches its lowest value.
Which set of projects would maximize shareholder wealth : XYZ Inc. has an overall (composite) WACC of 10%, which reflects the cost of capital for its average asset.
What is the volume of the wood in the wooden block : Suppose you have a rectangular wooden block with dimensions 8.0 cm x 8.0 cm x 9.0 cm that has a density of 0.85 x 10^3 kg/m^3. What is the volume of the wood in the wooden block
Write lc-3 program that reads string of uppercase alphabet : Your code should ensure that the input characters are, in fact, part of the upper case alphabet. In the event of an incorrect input, your code should print a message indicating the offending character and exit. You may assume a maximum of 10 input ..
Compute how much work is done on the capacitor : A large parallel plate capacitor has plate separation of 1.01 cm and plate area of 231 cm2. How much work is done on the capacitor as the plate separation is increased to 2.02 cm
Explain the solution described in the introduction is cooled : A solid mixture consists of 51.0 g ofKNO3 (potassium nitrate) and 9.0 gofK2SO4 (potassium sulfate). The mixture is added to 130g of water. If the solution described in the introduction is cooled to 0 degrees celsius
Compute the magnitude of the force on the electron : A uranium and iron atom reside a distance R = 59.70 nm apart. The uranium atom is singly ionized; the iron atom is doubly ionized. what is the magnitude of the force on the electron from the uranium ion
Explain equlibrium is achieved according to the equation : Equal Numbers of moles of H2 gas and I2 vapor are mixed in a flask and heated to 700 degrees celcius. The initial concentration of each gas is 0.0088 mol/L and 78.6% of the I2 is consumed when equlibrium is achieved according to the equation

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the period of the oscillation

A 2.0 kg particle moves along the x axis. Its position varies with time according to x = t + 3.0t^3, Where x is in meters and t is in seconds. (a) Find the work done on the particlein the interval t = 0 to t = 1.70s.

  Calculate the value of the voltmeter resistor-rv

A simple voltmeter with a full-scale reading of 50(V) is required. Use a d'Arsonval movement with a rating of 20(mV) at 1 (mA). Calculate the value of the voltmeter resistor, Rv, required to achieve these design specifications.

  How long will it take for all of the energy to be drained

A 20 uF capacitor has a voltage of 12V across it at t=0. If a constant current of 4mA flows through the capacitor in the non-passive direction, how long will it take for all of the energy to be drained from the capacitor

  Determine difference equation by pole-zero placement method

A first order highpass filter is required to satisfy the following specifaction fs=10000Hz fc=4000Hz Find the transfer function and difference equation by the pole-zero placement method.

  Find the electrons and holes densities and the fermi level

A germanium wafer is doped with phosphurus Nd=10^15 cm^-3. Find the electrons and holes densities and the Fermi level at room temperature.

  Describe the characteristics of the series rc filter circuit

Describe the characteristics of the series RC filter circuit with the output across the resistive component. Distinguish the pass and stop bands with reference to the cutoff frequency. Also, state what happens to the circuit complex impedance at t..

  What is the total bit rate for the tdm link

A TDM link has 20 signal channels and each channel is sampled 8000 times/sec. Each sample is represented by seven binary bits and contains an additional bit for synchronization. what is The total bit rate for the TDM link.

  What is the magnitude of the current that flows through wire

A wire carrying a current is shaped in the form of a circular loop of radius 4.0 mm. If the magnetic field strength at its center is 1.1 mT with no external magnetic fields contributing to it, what is the magnitude of the current that flows throug..

  Implement loadable d flip-flop starting with a t flip flop

Any flip-flop type can be implemented from another type with suitable logic applied to the latter's inputs. Show how to implement a loadable D flip-flop starting with a T flip-flop.

  What is the actual power produced by the motor

A single phase 1750 RPM moter operating at rated power has a power factor of 0.75 lagging. the line voltage is 208 VAC @60 Hz and the line current is 27A. Assuming 83% is a reasonable efficiency for moters of this size

  Compare the equivalent and nomminal circuits for the line

A three-phase 765-KV, 60-Hz,300-km,completely transposed line has the following positive-sequence impedance and admittance: z=0.0165+j0.3306 Ω/hm y=j4.674x10-6 S/km ten to the minor six

  Determine the magnitude of the acceleration of the car

A jogger accelerates from rest to 3.75 m/s in 3.58 s. A car accelerates from 16.7 to 31.6 m/s also in 3.58 s. (a) Find the magnitude of the acceleration of the jogger. (b) Determine the magnitude of the acceleration of the car.

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