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

Evaluate the four parameters of the hybrid model, Q. Show that any amplifie...

Q. Show that any amplifier represented by the model of Figure of the text can also be represented by themore general hybridmodel of Figure. Evaluate the four parameters of the hybr

Discuss the control words of ic8259, Discuss the control words (ICWS) of IC...

Discuss the control words (ICWS) of IC8259. The Intel 8259 is a single chip programmable interrupt controller. It is compatible with 8086, 8088 and 8085 microprocessor. It is a

What is balanced budget, Q. What is Balanced Budget? Balanced Budget: A...

Q. What is Balanced Budget? Balanced Budget: An annual budget (like for a government) in that revenues perfectly offset expenditures, so that there is neither a deficit nor a s

Explain steady-state stability, Q. Explain Steady-State Stability? The ...

Q. Explain Steady-State Stability? The property of a power system that ensures that it will remain in equilibrium under both normal and abnormal conditions is known as power-sy

Find imax and imin, Q. (a) In the circuit shown in Figure the zener diode (...

Q. (a) In the circuit shown in Figure the zener diode (with zero zener resistance) operates in its reverse breakdown region while the voltage across it is held constant at VZ and t

Analog, why h parameter used in low frequency transistor amplitfier

why h parameter used in low frequency transistor amplitfier

Explain inverse discrete-time fourier transform, Explain Inverse Discrete-T...

Explain Inverse Discrete-Time Fourier Transform 1. Observe the same things among this formula and the inverse analogue Fourier transform: The (1/2π) factor The sign

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.

Compute the ensemble mean and standard deviation, Write three m ?les to gen...

Write three m ?les to generate M ensemble members of length N, for the following three random processes: i) function v=rp1(M,N); a=0.02; b=5; Mc=ones(M,1)*b*sin((1:N)*p

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