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 frequency translation and product modulation, Q. What is Frequency ...

Q. What is Frequency Translation and Product Modulation? The basic operation needed to build modulators is the multiplication of two signals. Whenever sinusoids are multiplied,

Obtain the thevenin equivalent at terminals, Consider the circuit of Figure...

Consider the circuit of Figure (a), including a dependent source. Obtain the Thévenin equivalent at terminals a-b.

Distributed Control Sytems, 1. Produce a fully-labelled sketch to show the ...

1. Produce a fully-labelled sketch to show the components of a Direct Digital Control system. 2. State the minimum number of printed-circuit cards required to construct a basic co

Explain lithography, Explain Lithography. Lithography - This is one ...

Explain Lithography. Lithography - This is one of the processes which is carried out throughout manufacture of integrated circuits. Silica oxide (SiO 2 ) layer is thermally

Determine voltage on the self-biased n-channel, Measurements made on the se...

Measurements made on the self-biased n-channel JFET shown in Figure are V GS =-1 V, I D = 4 mA; V GS =-0.5V, I D = 6.25 mA; and V DD = 15 V. (a) Determine V P and I DSS .

Explain common collector configuration, Q. Explain common collector configu...

Q. Explain common collector configuration? It is called the common-collector configuration because (ignoring the power supply battery) both the signal source and the load share

Characteristics of an n-channel enhancement mosfet, Q. Find idealized expre...

Q. Find idealized expressions for the active and ohmic states and sketch the universal characteristics of an n-channel enhancement MOSFET operated below breakdown.

Properties and application of permanent magnetic materials, Give the proper...

Give the properties and application of permanent magnetic materials. Permanent magnetic materials: Properties: Permanent magnetic materials have a huge area of hyster

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