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

Working of r digital to analog converter, 2 n -R D/A CONVERTER An n-bit...

2 n -R D/A CONVERTER An n-bit 2 n -R D/A converter needs 2 n resistors of equal value R and (2 n+1 -2) analog switches. A 3-bit 2 n -R D/A converter is shown in Figure, which

Show the characteristics of general - purpose capacitors, Q. Show the Chara...

Q. Show the Characteristics of General - Purpose Capacitors? The working voltage for a capacitor is generally specified by themanufacturer, thereby giving the maximum voltage t

With the help of the structures explain lcd, Q. With the help of the struct...

Q. With the help of the structures explain LCD. A liquid crystal display (LCD) is a thin, flat display device made up of any number of color or monochrome pixels arrayed in fro

Basic macroeconomic policy trilemma for open economies, Q. Explain th...

Q. Explain the basic macroeconomic policy trilemma for open economies. Answer: Of three goals mainly countries share - independence in financial policy and stability in t

Explain about capital stock, Q. Explain about Capital stock? Capital st...

Q. Explain about Capital stock? Capital stock illustrates the amount of the owners' investment in the corporation.

Explain function of application layer, Q. Explain function of application l...

Q. Explain function of application layer? Layers of OSI model are as follows: (1) The Physical Layer: This defines an interface in terms of connections, voltage levels and

Define multiple inputs - control system, Define Multiple Inputs - Control S...

Define Multiple Inputs - Control System When there is much more than one input to a system, the superposition principle can be employed. This is that: The response to variou

Transistor as an amplifier, Transistor as an amplifier: Figure:...

Transistor as an amplifier: Figure:  Amplifier circuit, standard common-emitter configuration. The common-emitter amplifier is planned that is why a small change i

Why memory decoding is required, Why memory decoding is required? To a...

Why memory decoding is required? To attach a memory device to the microprocessor, this is necessary to decode the address sent by the microprocessor. Decoding creates the memo

Heterodyne wave analyzer, Q.   What is a wave analyzer? Explain any one tec...

Q.   What is a wave analyzer? Explain any one technique of wave analyzer giving its application also. OR Write short note on HETERODYNE Wave analyzer. OR Explai

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