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

A, A microstrip antenna system operating at 915MHz must be designed using R...

A microstrip antenna system operating at 915MHz must be designed using Rogers RO3010 substrate with the thickness of 0.635mm.

What is the basic principle of oscillators, Q. What is the basic principle ...

Q. What is the basic principle of oscillators?  In an oscillating circuit, the amplitude of voltage or current oscillations decays with time owing to the dissipation of energy

Logic circuits, : A farmer owns two barns; one north of a creek and the oth...

: A farmer owns two barns; one north of a creek and the other south of the creek. The farmer has a Cabbage, a Goat, and a Wolf. The Farmer needs to put each item in a barn every ni

Engineering Science, A rifle with a mass of 3,5 kg fires a bullei with a ma...

A rifle with a mass of 3,5 kg fires a bullei with a mass of 120 g with a muzzle velocity of 420 mls. Calculate the following: 1.4.''l The momentum before the rifle was fired ''1.4.

Scr, What is finger voltage in a scr?

What is finger voltage in a scr?

Drain characteristics of fet, Q. In The Drain Characteristics Of FET What D...

Q. In The Drain Characteristics Of FET What Does The Region At Pinch Off? Field Effect Transistors (FETs) utilize a conductive channel whose resistance is controlled by an appl

Transformers, AC Operation of an iron core         ...

AC Operation of an iron core         Hence, if a wattmeter were used to measure the power delivered over a full period of the waveform (which will also b

Applications platform - gis applications, Applications Platform: GIS a...

Applications Platform: GIS applications should be capable to act as a base system over which the other business process application can be integrated which is the objective of

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