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

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

Interrupt structure of the 8085 microprocessor, List the four instructions ...

List the four instructions which control the interrupt structure of the 8085 microprocessor. DI ( Disable Interrupts ) EI ( Enable Interrupts ) RIM ( Read Interrupt Masks

Explain the operation of 8279, Explain the operation of 8279.  Explain the ...

Explain the operation of 8279.  Explain the following terms: (i)  N key Roll over. (ii)  Key board debounce. (iii)  FIFO RAM. Ans The 8279 microprocessor i

Damping coefficient, define the physical significance of damping coefficien...

define the physical significance of damping coefficient

Assignment, design a half wave bridge rectifier to perform the function ind...

design a half wave bridge rectifier to perform the function indicated

truth table in sop form, Normal 0 false false false EN...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Factors that influence choice of carrier frequency, 1. Why must a modem be ...

1. Why must a modem be used to transmit binary data through a PSTN? (1) Use sketches and additional text to describe the following modulation methods. (a) Amplitude shift key

What is the pipelining, A method used in advanced microprocessors where the...

A method used in advanced microprocessors where the microprocessor begins implementing a second instruction before the first has been done. That is, various instructions are in the

Evaluate the travel time of signal, Suppose that the length of a 10Base-5 ...

Suppose that the length of a 10Base-5 cable is 2500 metres. If the speed of propagation in a thick co-axial cable is 60% of the speed of light, how long does it take for a bit to

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