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

Find the mmf needed to establish a magnetic flux, Q. Consider the toroid sh...

Q. Consider the toroid shown in figure made up of three ferromagnetic materials. Material a is nickel-iron alloy having a mean arc length la of 0.6 m; material b is medium silicon

Determine the performance of the circuits, Many circuits, particularly ampl...

Many circuits, particularly amplifiers, use negative feedback (nfb) in order to function reliably. The nfb changes the performance of the circuit to which it is applied, in most ca

Digital signal processing, please, how do i design a linear phase stable re...

please, how do i design a linear phase stable recursive digital filter

Determine IS in the given circuit, Q. Given that V 0 = 10 V, determine IS ...

Q. Given that V 0 = 10 V, determine IS in the circuit drawn in Figure.

Illustrate transformer coupling, Q. Illustrate Transformer coupling? In...

Q. Illustrate Transformer coupling? In this method the primary winding of the transformer acts as a collector load and the secondary winding transfers the a.c. output signal di

Compute the worst voltage regulation, Q. The following data were obtained o...

Q. The following data were obtained on a 25- kVA, 2400:240-V, 60-Hz, single-phase distribution transformer: • Open-circuit test with meters on LV side: 240 V, 3.2 A, 165 W •

Function of time base generator, Q. Explain the function of time base gener...

Q. Explain the function of time base generator in CRO. Sol. Oscilloscopes are used to display a waveform that varies as a function of time. If the waveform is to be accuratel

Give homogeneous matrix quation for b-splive curve, What are the different ...

What are the different kinds of surface entities used in CAD? Give homogeneous Matrix form equation for : (i) B-Splive Curve (ii) Bezier Curve

What do you mean by antenna gain, Q. What do you mean by Antenna gain? ...

Q. What do you mean by Antenna gain? Antenna gain depends on both shape and size. Dipole antennas, commonly used at lower radio frequencies, are made up of a rod or wire of len

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