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

Torque angle, describe torque angle in ships electrical propulsion system

describe torque angle in ships electrical propulsion system

What is the value of the lsb resistor, Q. For a 10-bit R-2R ladder-network ...

Q. For a 10-bit R-2R ladder-network D/A converter with an MSB resistor value of 10 k, what is the value of the LSB resistor?

Find the voltage gain, Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k...

Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k μ. Find the voltage gain Av. The voltage gain,  A v = Vo / V i = µR s / (µ+1) R s + rd = 50*4* (103 )/ (50+1)*4*103

Explain hand shakingfor the allocation of addresses, Explain Hand shakingfo...

Explain Hand shakingfor the allocation of addresses to memories and input output devices. Hand shaking: During an ASYNCHRONOUS data transfer is not based upon predetermined tim

Preventing leakages at insulators, Preventing Leakages at Insulators L...

Preventing Leakages at Insulators Leakages at insulators, cracking of insulators and flashover across insulators frequent cause outages and give output in loss of revenue. Pol

P-N junction, Explain how a p-n junction functions as a rectifier

Explain how a p-n junction functions as a rectifier

Compare dispersion effects single mode and multimode fibre, Compare dispers...

Compare dispersion effects in single mode and multimode fibres? The optical fibres were categorized within two according to the number of modes it passes as: • Single mode fibre

Matlab, to design wheatstone bridge

to design wheatstone bridge

Filter implementation, Using the coefficients obtained for the noisy signal...

Using the coefficients obtained for the noisy signal and the FIR filter in Q1(c)(i) implement on the TMS320VC5510DSK. You can use and modify any of the files provided in the Board

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