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

How the interrupts can be masked in 8086, How the interrupts can be masked/...

How the interrupts can be masked/unmasked in 8086? The 8086 interrupt priorities are concerned; software interrupts have the highest priority, followed by NMI followed by INTR.

What is session layer, Q. What is Session Layer? Session layer is used ...

Q. What is Session Layer? Session layer is used to allow users to identify themselves when waiting access to the network. This is concerned with setting up and sustaining an op

Binary number system - number systems , Binary  Number Systems As men...

Binary  Number Systems As mentioned  earlier this  number is used by  digital  systems like  microprocessor  and other  digital  circuits. This  number  systems  use only two

What do you eman by digital circuits, Q. What do you eman by Digital Circui...

Q. What do you eman by Digital Circuits? The use of nonlinear devices (BJT and FET) in constructing linear amplifiers. Although these devices are inherently nonlinear, their op

Ac-dc voltages , To do the basic laboratory experiments related to the elec...

To do the basic laboratory experiments related to the electrical engineering course, students need to have some basic understanding about the measuring tools, apparatus, components

Power transistor, Power Transistor A power  transistor  is a three laye...

Power Transistor A power  transistor  is a three layer  PNP  or NPN  semiconductor device  having  two  junctions. Three  terminals of power  transistors are collector emitter

Explain fourier series, Q. Explain Fourier Series? The phasor method of...

Q. Explain Fourier Series? The phasor method of circuit analysis can be extended (by using the principle of superposition) to find the response in linear systems due to nonsinu

Drawing, #question what are the types of lines used there and their applica...

#question what are the types of lines used there and their application ..

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

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