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

Obtain expressions for the open-loop voltage gain, Q. Consider the op-amp c...

Q. Consider the op-amp circuit shown in Figure and obtain expressions for the open-loop voltage gain at (a) low and (b) high frequencies. Also determine relations for the 3-dB poin

Different kinds of high-tension fuses and low-tension fuses, Q. Different k...

Q. Different kinds of high-tension fuses and low-tension fuses ? Ans: There are two kinds of fuses they are a) L.V Fuses - 1) HRC cartridge fuses.   - 2) Semi enclosed re

Power control - motor control , Power Control A chopper converts  fix...

Power Control A chopper converts  fixed  de input voltage to a controllable dc output voltage. It is  the single  stage dc to dc conversion device. It is a high  speed  on/ of

Matlab, fast decoupled program

fast decoupled program

Pop psw instruction , POP PSW Instruction It is similar to  above pop...

POP PSW Instruction It is similar to  above pop  instruction but instead of normal  register  pairs it uses PSW  as its operand. Program status word  comprises of the content

Characteristics of unijunction transistor, Characteristics of  unijunction...

Characteristics of  unijunction transistor: Characteristics : The static emitter characteristic of UJT at a given inter base voltage VBB in shown in fig. From fig., it is no

Find the maximum radiation intensity, Q. An antenna has beam widths of 3° a...

Q. An antenna has beam widths of 3° and 10° in orthogonal planes and has a radiation ef?ciency factor of 0.6. Find the maximum radiation inten- sity if 1 kW is applied to the anten

Effect of temperature on resistivity of conducting materials, Explain the e...

Explain the effect of temperature on the resistivity of conducting materials. The resistance of most metals rises with rise of temperature whereas that of semiconductors and el

Working out the function of a combination of gates, Working out the functio...

Working out the function of a combination of gates? Truth tables are able to be used to work out the function of a combination of gates. Inputs Outputs

Applications of holography, Applications of holography 1.       Hologra...

Applications of holography 1.       Holography is used in the non-destructive tests by interferometic methods. In this method called double exposure holographic interferometry,

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