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

Description of capacitor, Description of Capacitor r A capacitor has cap...

Description of Capacitor r A capacitor has capacitance of one Farad when current charging of one Ampere flows in one second. This process causing a transferring of one volt in p

Discuss the feature of pentium in brief, Discuss the feature of Pentium in ...

Discuss the feature of Pentium in brief. The Pentium is a 32-bit superscalar, CISC microprocessor.  The word superscalar is used for the processor that has more than one pipeli

What will the slipring voltage be in this case, A four-pole, three-phase, w...

A four-pole, three-phase, wound-rotor induction machine is to be used as a variable-frequency supply. The frequency of the supply connected to the stator is 60 Hz. (a) Let the r

Determine the armature current, A 2300-V, three-phase, wye-connected, round...

A 2300-V, three-phase, wye-connected, round rotor synchronousmotor has a synchronous reactance of 3 per phase and an armature resistance of 0.25  per phase. The motor operates on

Hexadecimal number system, Hexadecimal Number System Similar  to octal ...

Hexadecimal Number System Similar  to octal number hexadecimal number system is also used to represent long  binary  numbers in  smaller  form. In microprocessor  we use  hexad

Define time and shift invariant, Define Time and Shift Invariant? Time ...

Define Time and Shift Invariant? Time and shift invariant means that the system characteristics and shift do not change with time, i.e. the system output is independent of the

Honer, Can I have formulas for calculation of 50TN seting on 33KV overhead ...

Can I have formulas for calculation of 50TN seting on 33KV overhead line

Operation performed by instruction out 47 h, Q. Illustrate the operation p...

Q. Illustrate the operation performed by instruction OUT 47 h, AL. Ans:  It transfers contents of AL to I/O port 47h. Notice that I/O port number appears as 0047h on the 16 b

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