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

Equivalent circuit of a polyphase induction machine, Equivalent Circuit of ...

Equivalent Circuit of a Polyphase Induction Machine The inductionmachinemay be regarded as a generalized transformer inwhich energy is converted and electric power is transferr

Working principle of ultrasonic machining, Explain the basic working princi...

Explain the basic working principle of ultrasonic machining with the help of diagram. What are the different kinds of tool materials explain, tool holders are used in ultrasonic

Compute the efficiency of the transformer, Q. These data were obtained from...

Q. These data were obtained from tests carried out on a 10-kVA, 2300:230-V, 60-Hz distribution transformer: • Open-circuit test, with low-voltage winding excited: applied voltag

Give illustration of and and or gate - microprocessor, Give Illustration of...

Give Illustration of AND and OR Gate - Microprocessor? Illustration: The image below demonstrate the 4 possible inputs into a 2-input AND gate and all the corresponding outputs

Show that the effective inductance of the two coils, Q. The self-inductance...

Q. The self-inductances of two coupled coils are L 11 and L 22 , and the mutual inductance between them is M. Show that the effective inductance of the two coils in series is give

Explain time-invariant versus time-varying systems, Q. Explain Time-invaria...

Q. Explain Time-invariant versus time-varying systems? When the parameters of a control systemare stationary with respect to time during the operation of the system, the system

Static electricity with electrical equipment, Static Electricity : This is...

Static Electricity : This is produced when two substances are rubbed together; the substances may be solids, liquids, or gases. Typical sources of static electricity are: i) dr

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