Program description , Electrical Engineering

Assignment Help:

Program Description

In the above  program  any two  numbers can be stored in register A and B ( by  replacing XX  and YY).

Contents  of B are  compared with A. If  B CY = 0  (reset) and if Z < B  CY= 1 (set)

JNC SKIP  instruction  will check  CY flag  if CY  is not  it will jump to location 2009H otherwise  execution will come  to next location 2008H.

I e MOV A, B  instruction  will be executed  only when CY is set which is  the case when B  is greater  than A this instruction will copy  the contents of  B into A when B   is  greater.

OUT 01 instruction always  send the contents  of A to the specified  output  port. In the above  program   A will  always  hold the  greater number before  coming  to this  statement. Hence  greater number will be  displayed  at port  address 01H.


Related Discussions:- Program description

Metal–oxide–semiconductor structure, Metal-Oxide-Semiconductor Structure ...

Metal-Oxide-Semiconductor Structure A traditional metal-oxide-semiconductor abbreviated as MOS structure is acquired by growing a layer of silicon dioxide (SiO 2 ) on top of

Customer satisfaction - issues of power supply, Customer Satisfaction - Iss...

Customer Satisfaction - Issues of Power Supply Customer satisfaction measurement is a systematic process for collecting customer data (e.g. surveys, audits and etc.), analyzin

What do you mean by heat sink?, Q. What is a heat sink? List the factors, w...

Q. What is a heat sink? List the factors, which determine its efficiency. To reduce the chance of thermal runaway, the rise of temperature at the collector junction to a danger

Diode characteristic, Q. For the circuit shown in Figure(a), determine the ...

Q. For the circuit shown in Figure(a), determine the diode current and voltage and the power delivered by the voltage source. The diode characteristic is given in Figure.

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

Explain working of three-phase transformers, Q. Explain working of three-ph...

Q. Explain working of three-phase transformers? Transformation in three-phase systems can be accomplished in either of two ways: (1) connecting three identical single-phase tra

Determine the output voltage, Q. An inverting amplifier is designed with th...

Q. An inverting amplifier is designed with three inputs, v 1 , v 2 , and v 3 , as shown in Figure. Determine the output voltage. Then indicate how the circuit may be modified to pe

Systemic requirements - gis technology, Systemic Requirements: A robu...

Systemic Requirements: A robust GIS solution for a distribution utility comprises the subsequent: GIS application and database software should be OGC (Open Geospatial

Masking - immediate with accumulator instruction , Masking As we know...

Masking As we know the MASJ is used  to cover  some part  of our  face  which  we want to hide  and to  show  other part of the face  which  we want to show. Similarly  the

DSP-chebyshev, Consider Chebyshev Type I versus Chebyshev Type II (also cal...

Consider Chebyshev Type I versus Chebyshev Type II (also called inverse Chebyshev) Ölters. Which one should be used based on the following criteria? (If there is no difference betw

Write Your Message!

Captcha
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