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

What is synchronous data transfer, What is synchronous data transfer? I...

What is synchronous data transfer? It is a data method which is used when the I/O device and the microprocessor match in speed. To transfer a data to or from the device, the us

Wire-line and fiber-optic channel, Q. Wire-line and Fiber-optic channel? ...

Q. Wire-line and Fiber-optic channel? Wire-line channels are used extensively by the telephone network for voice, data, and video transmission. Twisted-pair wire lines (with

.energy, units of potential energy

units of potential energy

Define electrical power, Electrical power Power P in an electrical circ...

Electrical power Power P in an electrical circuit is given by the product of potential difference V and current I. The unit of power is the watt, W.

Describe the lastprivate clause, Q. Describe the Lastprivate Clause? Th...

Q. Describe the Lastprivate Clause? The lastprivate clause declares one or more list items to be private to a thread in additin causes corresponding original list item to be up

Explain hall effect, Explain Hall Effect. Hall Effect: If a current c...

Explain Hall Effect. Hall Effect: If a current carrying conductor is placed in a magnetic field, a voltage is produced that acts in the perpendicular direction to the current

Decoding logic, show the decoding logic for 11011 code if an active high an...

show the decoding logic for 11011 code if an active high and an active low output required

Write short notes on the stability factor of biasing circuit, Q. Write shor...

Q. Write short notes on the Stability Factor of Biasing circuits. The degree of success achieved in stabilizing Ic in the face of variations in Ico is expressed in terms of sta

Determine the current flow, Q. A charge q(t) = 50 + 1.0t C flows into an el...

Q. A charge q(t) = 50 + 1.0t C flows into an electric component. Find the current flow.

Compute the maximum electromagnetic power, Q. A four-pole dc machine with 7...

Q. A four-pole dc machine with 728 active conductors and 30mWb flux per pole runs at 1800 r/min. (a) If the armature winding is lap wound, find the voltage induced in the armatu

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