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

Nicol prism, how double diffraction occur at the surface

how double diffraction occur at the surface

Construction of inductor, Construction of inductor An inductor is usual...

Construction of inductor An inductor is usually constructed as a coil of conducting material, typically opper wire, wrapped around a core either of air or ferrous material.

The electrical circuit sign convention, The Electrical Circuit sign convent...

The Electrical Circuit sign convention Notice that current leaves a source at its high potential (positive) terminal but enters a load at its high potential (positive) ter

Find kfm for the modulator using carsons rule, Q. A commercial FMstation br...

Q. A commercial FMstation broadcasts a signal with 180-kHz bandwidth when |f(t)|max = 2 V. Find kFM for the modulator if the spectral extent of f (t) is 30 kHz, by using Carson's r

Construction of a two stage rc coupled amplifier, Q. Describe the construct...

Q. Describe the construction of a two stage RC coupled amplifier with diagram. A cascaded arrangement of common-emitter transistor stages is shown above. The output Y1 of

Determine the number of poles of this ac motor, Q. A three-phase ac motor, ...

Q. A three-phase ac motor, used to drive a draft fan, is connected to a 60-Hz voltage supply. At noload, the speed is 1188 r/min; at full load, the speed drops to 1128 r/min. (a

Binary to hexadecimal conversion, Binary  to Hexadecimal  Conversion ...

Binary  to Hexadecimal  Conversion To convert a binary  number  into  hexadecimal  divide the number into group  of four  bits  each starting from the least significant bit. Th

Resistance, if the sheet resistance of a tin oxide is 100 ohms, what is the...

if the sheet resistance of a tin oxide is 100 ohms, what is the thickness of the oxide layer?

Compute the attenuation, Q. A rectangular air-?lled RG-52/U is made of bras...

Q. A rectangular air-?lled RG-52/U is made of brass (ρ = 3.9 × 10-8 m) and has dimensions a = 22.86 mm and b = 10.16 mm. (a) Determine ¯ Z0(= R0) at the limits of the practica

Define resistance in lumped-circuit, Q. Define Resistance in lumped-circuit...

Q. Define Resistance in lumped-circuit? An ideal resistor is a circuit element with the property that the current through it is linearly proportional to the potential differenc

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