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

The maximum power transfer theorem, The maximum power transfer theorem stat...

The maximum power transfer theorem states: 'A load will receive maximum power from a linear bilateral dc network when its total resistive value equal to the Thevenin's or Norto

Assignment question , An audio amplifier with feedback needs gain of approx...

An audio amplifier with feedback needs gain of approximately 500 in a 3-dB bandwidth extending from 60 Hz to 25 kHz. Assume this is accomplished using a feedback network with ß=0.0

Buffer - introduction to microprocessors, Buffer A buffer  is a logic c...

Buffer A buffer  is a logic circuit that  amplifies the current or power.  Basically it is used  change the driving  capability  of a logical  circuit. Therefore  it is  someti

Instability problem, We would like you to do an indepth study/research in t...

We would like you to do an indepth study/research in the tradeoff between the filtering of the QR and the QR performance So it will be about filtering but more of an indepth for

Electrical machine -i, What are the causes of sparking in the commutator? E...

What are the causes of sparking in the commutator? Explain the methods to reduce the sparking in the commutator?

Calculate the antenna aperture area, Q. Amicrowave relay systemuses two ide...

Q. Amicrowave relay systemuses two identical horn antennas mounted on towers spaced 40 km apart. If f c = 6 GHz, and each relay hop has L = 60 dB, calculate the antenna aperture a

What do you mean by companding, Q. What do you mean by Companding? Comp...

Q. What do you mean by Companding? Companding is the process of compressing and expanding. It comprises compressing the signal at the transmitter and expanding it at the receiv

Explain basic control systems, Q. Explain Basic Control Systems? Electr...

Q. Explain Basic Control Systems? Electric energy is widely used in practice, because of the ease with which the system and device performance can be reliably controlled. One o

Hall effect is associated with which material, Hall Effect is associated wi...

Hall Effect is associated with (A) Conductors. (B) Semiconductors. (C) Thermistors. (D)Solders. Ans: Hall Effect is associated with semiconductors.

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