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 super scalar architecture, Explain super scalar architecture. ...

Explain super scalar architecture. The Pentium microprocessor is organized along with three execution units. Single is executes floating-point instructions, and another two (U

Rc phase shift, what is the equation for rc phase shift oscillator?

what is the equation for rc phase shift oscillator?

Personal and corporate income tax rate, Ginny Jones currently works as the ...

Ginny Jones currently works as the VP-Product Strategy for a well-established enterprise software company. She and her friend, Tom Robinson, currently CFO at a competing firm (and

Explain the drain characteristics of jfet with external bias, Q. Explain th...

Q. Explain the drain characteristics of JFET with external bias? It gives relation between Id and Vds for different values of Vgs.(which is called the running variable). The ab

Determine the input current and input voltage, Q. A 100-kVA, 2300:230-V, 60...

Q. A 100-kVA, 2300:230-V, 60-Hz, single-phase transformer has the following parameters: R 1 = 0.30 , R 2 = 0.003 , RC 1 = 4.5k, X 1 = 0.65 , X 2 = 0.0065 , and Xm 1 = 1.

Evaluate the transfer function of the nested-loop system, Q. Determine the ...

Q. Determine the transfer function C(s)/R(s) of the nested-loop feedback system shown in Figure.

Speed control of dc shunt motor - motor control , Speed Control of DC Shun...

Speed Control of DC Shunt Motor V dc   the output of rectifying circuit which is  applied to the motor field  as shown  in figure  for armature voltage V dc   is controlled by

Histograms or bar chart - quality tools for improvement, Histograms or Bar ...

Histograms or Bar Chart - Quality Tools for Improvement Histograms give an easy, graphical view of accumulated data. It provides the simplest way to evaluate the distributio

Explain the term full duplex transmission, Explain the term full duplex tra...

Explain the term full duplex transmission. Data can travel in both directions concurrently. There is no require to switch from transmit to receive mode as in half duplex. It's

Define the general purpose embedded system, Define the general purpose embe...

Define the general purpose embedded system. a. General purpose microprocessor For illustration, Intel 80x86, Motorola 68HCxxx or Sparc b. Embedded general purpose process

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