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

State the functions of a fuse, State the functions of a fuse. Fuse is ...

State the functions of a fuse. Fuse is a protective device that made of a thin wire or strip. This strip or wire is placed with the circuit this has to protect, therefore the

How linear sweep voltage is generated, Q. With a suitable block circuit, sh...

Q. With a suitable block circuit, show how linear sweep voltage is generated ? The above figure shows a basic sweep waveform generator. The switching action of the switch

.voltmeter, circuit diagram,working and construction of voltmeter

circuit diagram,working and construction of voltmeter

Explain standard set of procedure used in completing a call, Q. Explain Sta...

Q. Explain Standard set of procedure used in Completing a call? Completing a local telephone call between two subscribers linked to the same telephone switch is accomplished th

Hysteresis results in a dissipation of energy, Hysteresis results in a diss...

Hysteresis results in a dissipation of energy Hysteresis results in a dissipation of energy which appears as a heating of the magnetic material. The energy loss associated wit

Explain working of resistance-capacitance coupled amplifiers, Q. Explain wo...

Q. Explain working of Resistance-capacitance coupled Amplifiers? Resistance-capacitance (RC)-coupled  Amplifiers : The following figure illustrates the most widely used method

Blanking circuit, Blanking circuit: The saw tooth sweep voltage applied to...

Blanking circuit: The saw tooth sweep voltage applied to the X places moves beam across the CRT tube in a straight horizontal line from left to right during the sweep or trace tim

Testing for continuity-earthing, Testing for Continuity : You may have obs...

Testing for Continuity : You may have observed sometimes that when all the connections in the appliance as well as the plug are made properly the appliance may still not work. Thi

Parts of triangle, The base of isosceles triangle and the altitude drawn fr...

The base of isosceles triangle and the altitude drawn from one of the congruent sides are equal to 18 cm and 15 cm, respectively. Find the lengths of the sides of the triangle.

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