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

Apply required morphological operations and give the output, You are given ...

You are given a binary image consisting of only zeros and ones, see image-A. Apply required morphological operations and give the output images on the grid.

Rectification, diagram for full wave bridge circuit single phase,full wave ...

diagram for full wave bridge circuit single phase,full wave centre tap circuit and haif wave rectification circuit

#DSP ., #The requirement is as follows- There is a signal which is in the r...

#The requirement is as follows- There is a signal which is in the range of 0 to 5Hz. This signal frequency composition is to determined. The resolution of the determination is 1Hz.

What speed would the machine be capable of converting energy, Q. An element...

Q. An elementary two-pole rotating machine with uniform air gap, as shown in Figure, has a stator-winding self-inductance Lss of 50 mH, a rotor-winding self-inductance Lrr of 50 mH

Control signals - pins and signals , Control Signals There are two  con...

Control Signals There are two  control  signals and one  special  (ALE) in this  category. All these  signals  are output  signals. RD  (Read  signal ) it is  an active low

How address and data lines are demultiplexed in 8085, How address and data ...

How address and data lines are demultiplexed in 8085? AD0-AD7 lines are multiplexed and the lower half of address A0-A7 is available only during T1  of the machine cycle. This

Block schematic diagram of ss7, Q. Block schematic diagram of SS7? Leve...

Q. Block schematic diagram of SS7? Levels are as below: Level 1: The Physical Layer Level 2: The Data Link Level Level 3: The signaling network level Level 4: The User Pa

What do you mean by negative impedance converter, Q. What do you mean by Ne...

Q. What do you mean by Negative Impedance Converter? The op-amp circuit of Figure causes a negative resistance R in between the input terminal and ground. In the more general

DC generator, define all the symbols with their units of DC generater

define all the symbols with their units of DC generater

Sonic harassment, Sir I would like to find a sensor that can detect beams ...

Sir I would like to find a sensor that can detect beams from the phasor painfield generator and the sonic devasator (devices of this nature). These sonic devices emit a high pres

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