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

Compute the pull on the plunger, Q. A sectional view of a cylindrical iron-...

Q. A sectional view of a cylindrical iron-clad plunger magnet is shown in figure. The small air gap between the sides of the plunger and the iron shell is uniform and 0.25 mm long.

Permeability and b-h curve for different magnetic materials, Permeability a...

Permeability and B-H curve for different magnetic materials Permeability is the ability of a magnetic circuit to create magnetic flux lines in a material or substance that prod

RC coupled amplifier, what is the reason for reduction in low frequency and...

what is the reason for reduction in low frequency and high frequency regions in the frequency response of an Rc coupled amplifier?

What is an usart, What is an USART? USART stands for universal synchron...

What is an USART? USART stands for universal synchronous/Asynchronous Receiver/ Transmitter. It is a programmable communication interface that can communicate by using either s

Field Service Enginer, Give three reasons why a chamfer shouldn''t an "unim...

Give three reasons why a chamfer shouldn''t an "unimportant" dimension

Effect of feedback on dynamic response and bandwidth, Q. Effect of feedback...

Q. Effect of feedback on dynamic response and bandwidth? Let us consider the block-diagram representation of the open-loop system shown in Figure 16.2.5(a), whose direct transf

Demagnetizing and cross magnetizing effects , Q.   What do you understand b...

Q.   What do you understand by demagnetizing and cross magnetizing effects of armature reaction in a d.c. machine. Derive the expression for calculation of demagnetizing and cross

What are the currents in the high-voltage, Q. A transformer is rated 10 kVA...

Q. A transformer is rated 10 kVA, 220:110 V (rms). Consider it an ideal transformer. (a) Compute the turns ratio and the winding current ratings. (b) If a 2-load resistance

Hybrid meters, Hybrid Meters These meters have electronic measurement ...

Hybrid Meters These meters have electronic measurement circuits but show is by impulse counters/stepper motors. Accuracy is classically class 1.0 or 2.0 and commonly these met

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