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

Draw the timing diagram for the first input pulses, Given the block diagram...

Given the block diagram of a synchronous counter shown in Figure (a), draw the timing diagram for the first input pulses, with Q 1 , Q 2 , and Q 3 initially at 0.

What do you mean by dial pulses, Q. What do you mean by Dial Pulses? D...

Q. What do you mean by Dial Pulses? Dial Pulses: Dial pulsing (many times known as rotary dial pulsing) is the method originally used to transfer digits from a telephone set

Explain about subscriber loop system, Q. Explain about Subscriber Loop Syst...

Q. Explain about Subscriber Loop System? Subscriber Loop System:Each subscriber in a telephone network is connected normally to the nearest switching office by a dedicated pair

., ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

The relationship between cell and batteries, The relationship between cell ...

The relationship between cell and batteries  Generally, a cell delivers a certain voltage that is a function of what chemical reactions are taking place to generate the voltage

Detrmine when the current flowing in the conductor, A conductor 300 mm long...

A conductor 300 mm long moves at a uniform speed of 4 m/s at right-angles to a uniform magnetic field of flux density 1.25 T. Verify the current flowing in the conductor when  (

What are the benefits of ccs over in-channel signalling, Q. What are the be...

Q. What are the benefits of ccs over in-channel signalling? The benefits of CCS over in-channel signalling are listed below: a. Information can be exchange between processor

Transient behavior of a control system, Q. Transient behavior of a control ...

Q. Transient behavior of a control system? The transient portion of the time response of a stable control system is that part which goes to zero as time increases and becomes s

Standards and labelling - features of energy conservation, Standards and La...

Standards and Labelling - Features of Energy Conservation Standards and Labelling (S & L) has been recognized as a key activity for improvement in energy efficiency. The S & L

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