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

  Analyze the memory performance for write and read operation

A memory system is needed in a new design to support a small amount of data storage outside of the processor. The design is o be based on the 16 K bit CY7C128A SRAM organized as 2 K x 8.

  Determine the phase relation between vo and ig

Determine the phase relation between V o and i g for the given network if V g = 45sin(317t) and determine v o for the given network

  How will the voltage across the diode terminals be affected

How does ambient temperature affect the forward bias voltage of a diode. For some significant enough increase in temperature, how will the voltage across the diode terminals be affected

  What is the mechanical rotational velocity

An AC synchronous motor operates at 1200 rpm on a 60 hz, 240 Vrms supply. The supply is changed to 50 hz, 240 Vrms, What is the mechanical rotational velocity when the motor reaches steady state

  What is the largest data that can be carried into the cpu

A given computer has a 32-bit data bus. What is the largest data (in decimal) that can be carried into the CPU at a time 13.In a given byte-addressable computer, memory location 10000H-9FFFFH are available for user programs.

  Define power systems theory definitions and formulas

Power Systems Theory Definitions and Formulas, Define, (a) The fault level of a system or unit in a system, (b) base MVA

  What is the maximum power that can be delivered to the load

The battery is made by connecting 7 unit cells in series and then by connecting 5 of these series cells in parallel. Each unit cell has the voltage of 1.25 V and the internal resistance if 3.2 Ohm. What is the maximum power that can be delivered t..

  Accurately calculate the doping level in an n-type silicon

An N-type silicon substrate with the doping density of 1x10 15 cm-3 Arsenic is to be converted into p-type by Boron diffusion, so that the resistivity at T=75C is 5 O-cm. All atoms are fully ionized.

  What resistance must have a wire produce by company a

Wires manufactured for use in a computer system are specified to hve resistances between .12 and .14 ohms. The actual measured resistances of the wires produced by company A have a normal probability distribution with mean .11 ohm

  Explain the linear relationship between ia and phi

A series-connected dc motor has RF+RA = .6 ohmns and draws IA = 40 A from the dc source voltage VT = 220 V, while running at 900 rpm. What is the speed for IA = 20 A Assume a linear relationship between IA and phi.

  Calculate list all possible connections for a dc generator

A 3kw, 120V, 2400 rpm shunt motor has an armature resistance of 0.4 ohms and a shunt field resistance of 160 ohms. The motor operates at full load. The no load current is 2A. If an external resistance of 2.5 ohms is insertions in the armature circ..

  Determine what is the frequency of qb

A digital system has a clock generator that produces pulses at a frequency of 8 MHz. What is the frequency of QB

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