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

Second Order Precesses, A second-order process with one pole at the origin ...

A second-order process with one pole at the origin has the transfer function 3/(s(2s + 1)) Find the output as a function of time, for a unit step input change. Sketch the expected

Explain classification of energy band materials, With the help of energy ba...

With the help of energy bands explain how conduction takes place in conductors, semiconductors and insulators. On the basis of energy band materials are categorized as insulato

Find the rate of information transmission, Q. Find the rate of information ...

Q. Find the rate of information transmission? If the time occupied in transmitting each binary digit is 1 µs, find the rate of information transmission if 1 baud is equal to 1

What do you mean by frequency response, Q. What do you mean by Frequency Re...

Q. What do you mean by Frequency Response? As with all electronic circuits, op amps have limited frequency response. Because of the negative feedback of the circuit, the passba

Determine the input resistance between terminals of circuit, Q. Consider Fi...

Q. Consider Figure of the weighted differencing amplifier. Let R 3 = R 1 and R 4 = R 2 . Determine the input resistance between terminals a and b of the circuit.

Show maximum differential input voltage of amplifier, Q. Show Maximum Diffe...

Q. Show Maximum Differential Input Voltage of amplifier? This is the maximum value of differential input voltage v p - v n that can be applied without damaging the op amp.

In-depth technical competence, Professional engineers engage with a wide ra...

Professional engineers engage with a wide range of technically advanced and complex problem. So technical know-how is necessary to solve problems, advance existing technologies and

Find the resistor values of rc, Apply the rule-of-thumb dc design presented...

Apply the rule-of-thumb dc design presented in this section for a silicon npn BJT with β = 70 when the operating Q point is defined by I CQ = 15 mA and I BQ = 0.3 mA, with a dc s

What are frequency response curves, Q. What are frequency response curves? ...

Q. What are frequency response curves? How are they made? Every amplifier has a frequency-response curve associated with it. They provide a "picture" of the performance of an a

Short note on armature reaction., Armature Reaction in DC Generator:  Arma...

Armature Reaction in DC Generator:  Armature reaction is the effect of magnetic flux set up by armature current upon the distribution of flux under the main poles.

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