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

Explain about transistor amplifiers, Q. Explain about Transistor Amplifiers...

Q. Explain about Transistor Amplifiers? Amplifiers are circuits that produce an output signal which is larger than, but proportional to, an input signal. The input and output s

Demultiplexer, How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates ...

How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates only ?

Find the current and voltage at input terminals of the line, Q. A source of...

Q. A source of impedance ¯ Z S = R S = 100  has an open-circuit voltage v S (t) = 12.5 cos ωot and drives a 75- transmission line terminated with a 75- load. Find the current

Determine potential drop between the terminals of a battery, The potential ...

The potential drop between the terminals of a battery is equal to the battery's EMF when: a) No current is drawn from the battery b) A very large current is drawn from th

Optoelectronic, Need a project in Optoelectronic with simulation in Optispi...

Need a project in Optoelectronic with simulation in Optispice or Matlab.with complete report and presentation. ANy ideat about project and how much does it cost.

What is pinch-off voltage, Q. What is Pinch - off voltage?  The reverse...

Q. What is Pinch - off voltage?  The reverse bias is relatively large near the source. As a result, the depletion region intrudes into the channel near the drain, and the effec

Standard color-coded bands for evaluating resistance, Standard Color-Coded ...

Standard Color-Coded Bands for Evaluating Resistance Practical resistors are manufactured in standard values, various resistance tolerances, several power ratings (as will be e

Explain about direct-current machines, Q. Explain about Direct-current mach...

Q. Explain about Direct-current machines? Generally speaking, conventional dc generators are becoming obsolete and increasingly often are being replaced by solid-state rectifie

Advantages of an rc coupling over a direct coupling, Q. What are the advant...

Q. What are the advantages of an RC coupling over a direct coupling? Draw a basic Rc coupling network and explain. Figure -RC-coupled transistor amplifier The network

Differences between vga and cga graphics adapters, Q.9 What are the main...

Q.9 What are the main differences between VGA and CGA graphics adapters? Ans: Colour Graphics Adapter (CGA), initially also known as Colour/Graphics Adapter or IBM Colo

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