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

Show twos complement addition, Q. Can you explain Twos complement addition?...

Q. Can you explain Twos complement addition? 2's Complement Addition Two's complement addition follows the same rules as binary addition. For example, 5 + (-3)  =  2

Bi directional buffer 74ls245 , Bi Directional Buffer 74LS245 This types...

Bi Directional Buffer 74LS245 This types  of bi directional  buffer is required for data  bus as it has  to function as bi directional bus. The logic  diagram  of such  buffer i

Explain the construction of power transformer, Q. Explain, with the aid of ...

Q. Explain, with the aid of diagrams, the following in relation to the construction of power transformers. Include the advantages and disadvantages in your description. a) Core

Amplifier, Amplifier Usually, an amplifier or simply amp, is any devic...

Amplifier Usually, an amplifier or simply amp, is any device which changes, generally increases, the amplitude of a signal. The connection of the input to the output of an amp

Schematic diagram of a system in which the d/a converter, Q. Develop a sche...

Q. Develop a schematic diagram of a system in which the D/A converter of Figure can be employed in a digital voltmeter.

power sector economics & planning, 1.  The rejection criteria of an invest...

1.  The rejection criteria of an investment project, as evaluated from the NPV method is that NPV should be equal to zero. 2.  Technical feasibility is the only criteria to dete

Inductive coupling, advantages and disadvantages of inductive coupling

advantages and disadvantages of inductive coupling

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