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

Semiconductor, What is the similarities between a vacuum diode and a triode...

What is the similarities between a vacuum diode and a triode?

Variable capacitors, how can I simulate air variable capacitors in cst simu...

how can I simulate air variable capacitors in cst simulator?

Clippers, Which clipper would you prefer between the series and the shunt c...

Which clipper would you prefer between the series and the shunt clipper? Why?

Design a combination circuit, Design a combination circuit to combine two s...

Design a combination circuit to combine two signals as follows: v 0 = -2 v 1 - 8v 2 - v 3 The following specifications are imposed: R in ≥ 20 k? at all inputs All

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

What happen when negative bias applied to the gate of fet, Q. What happens ...

Q. What happens when a negative bias is applied to the gate of a FET? The result of applying a negative bias to the gate is to reach the saturation level at a lower level of V

Passive filters, Passive filters: Passive implementations of linear fi...

Passive filters: Passive implementations of linear filters are based upon combinations of inductors (L), resistors (R), and capacitors (C). These sorts are collectively termed

Transformer of distribution, Transformer of distribution: Let be the t...

Transformer of distribution: Let be the transformer of distribution of the Face(Figure) 3 connected to the primary between phase a and c of a three-phase network of 23 kV. Bot

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