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

  Determine the complete response for each system

Use z transforms to find the ZIR yZI(k), the ZSR yZS(k), and the complete response y(k) for each system. (E+0.5){y(k)} = 0, y(0) = 0. (E2-3E+2){y(k)} = us(k), y(0) = 2, y(1) = 0. (us(k) = unit step sequence.)

  Determine the value for x that solves each of pdf

Assume X is normally distributed with a mean of 5 and a standard deviation of 4. Determine the value for x that solves each of the following: (a) P(X > x) = 0.5 (b) P(X

  Find the total power delivered by the dc voltage source

The power is generated by a DC power facility at a voltage of 10 V and deliver by two power lines with resistance Rline=3 ohm. The maximum power the voltage source can deliver is 5 W. a) Find the total power delivered by this DC voltage source

  Compute z in decibels required to give pe for noncoherent

Compute z in decibels required to give PE = 10-7 for noncoherent, binary FSK and for DPSK. For the latter, carry out the computation for both the optimum and suboptimum detectors.

  Why charge is placed in the path of the electromagnetic wave

The average intensity of sunlight reaching the earth is 1390W/m2. A charge of 2.38 x 10-8 C is placed in the path of this electromagnetic wave. What is the magnitude of the maximum electric force that the charge experiences

  Calculate the steam flow rate in the problem

In a steam plant where you work, the turbine develops 1000 kW. The heat supplied to the steam in the boiler is 2800 kJ/kg and the heat rejected by the steam to the cooling water in the condenser is 2100 kJ/kg.

  Determine the capacitance that must be placed in parallel

A 50 kW load operates from a 60 Hz 10 kV rms line with a power factor of 60% lagging. Determine the capacitance that must be placed in parallel with the load to achieve a 90% lagging power factor.

  What is the maximum strength of the waves electric field

The maximum strength of the magnetic field in an electromagnetic wave is 3.44E-6 T. What is the maximum strength of the wave's electric field

  Write a simple awk statement that finds out the total sample

Write a simple awk statement that finds out the total number of samples of items that are gold, the total weight of these gold items and the total value of these gold items based on Monday September 30th price for GOLD and the difference in value

  Determine the initial x and final value x

Determine the initial x(0+) and final value x(infinity), given the following Laplace transforms X(s): X(s) = 2s2 + 5/s3 + 3s + 1

  Describe the global set-reset function in the spartan fpga

FPGAs are programmed from a compiled HDL description (i.e., a Verilog or VHDL program). What would you have to have in the HDL description to use the global set/reset function in the Spartan FPGA

  Find nd on n side

Built-in voltage for a Si p-n junction is tested to be 0.6 V, NA = 2 X 10^15 cm^-3 on p side. Find ND on n side. (Assume ni = 1 x 10^10 cm^-3; and k*T/q= 0.026 V)

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