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

Space communication - application of software defined radio, Space communic...

Space communication - Application of Software Defined Radio Software defined radio can save cost of missions while constructing multiple mode, multiple band radio systems that

What do you mean by insurance, Q. What do you mean by Insurance? This i...

Q. What do you mean by Insurance? This is done by creating a common fund out of the contribution (known as premium) from several persons who are equally exposed to the same los

Determine the voltage at the load terminals, Two single-phase 60-Hz sinusoi...

Two single-phase 60-Hz sinusoidal-source generators (with negligible internal impedances) are supplying to a common load of 10 kW at 0.8 power factor lagging. The impedance of the

Register to register , Register to Register  This  instruction  is u...

Register to Register  This  instruction  is used to copy data from the  source  register to the destitution register. The  previous contents on the  destination register wil

Active-mode pnp transistors in circuits, Active-mode PNP transistors in cir...

Active-mode PNP transistors in circuits: In the figure, the arrows showing current point in the direction of conventional current - the flow of electrons is in the opposite di

What do you mean by dearness allowance, Q. What do you mean by Dearness All...

Q. What do you mean by Dearness Allowance? Ans: Dearness Allowance is in the type of compensation for Established increase in the cost of living and comprised of Dearness All

Power distribution, Determine the current through each parallel branch of t...

Determine the current through each parallel branch of the system

Gis technology, GIS technology: GIS could be used to derive diverse in...

GIS technology: GIS could be used to derive diverse information for efficient technical and commercial management of a power distribution utility, e.g., capacity analysis, inv

Explain the block diagrtam of d.c. voltmeter , Q.   Explain the block diagr...

Q.   Explain the block diagrtam of D.C. voltmeter with direct coupled amplifier. Sol. D.C, voltmeter with direct coupled Amplifier         The D.C. electronic voltmeters

Explain the types of coupling, Problem : a) What is the definition of E...

Problem : a) What is the definition of Electromagnetic Compatibility (EMC) according to the International Electrotechnical Commission (IEC) and why is it gaining increasing imp

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