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

Compare the percent error of both meters, Q. Error speci?cations on a 10-A ...

Q. Error speci?cations on a 10-A digital ammeter are given as 0.07% of the reading, 0.05% of full scale, 0.005% of the reading per degree Celsius, and 0.002% of full scale per degr

Classification of measures of performance appraisal, Classification of meas...

Classification of measures: measures or metrics can be classified under the following headings: 1 finance: income shareholder value added value rates of return costs. 2 outp

What is the minimum sampling rate, Q. The magnitude spectrum of a continuou...

Q. The magnitude spectrum of a continuous  image is as given below.  a) Sketch the frequency response of the sampled spectrum if   ωs =1.5 ωm along x and 3ωm along  y directions

Determine the duration of the frame, Four voicemessages, each with 3-kHz ba...

Four voicemessages, each with 3-kHz bandwidth, are to be sampled at Nyquist rate, and time- multiplexed with samples taken at twice the Nyquist rate from six analog monitoring sign

Hahaha, Ask question #Minimum 10gzhahahaau0 words accepted#

Ask question #Minimum 10gzhahahaau0 words accepted#

Write short note on common vs associated channel signalling, Q. Write short...

Q. Write short note on Common vs. associated channel signalling. Associated vs. Common channel signalling: Out band signalling suffers from very limited bandwidth. Both a

What is transconductance, Q. What is transconductance? Explain its signific...

Q. What is transconductance? Explain its significance from the transfer characteristics. Transconductance is the transistor gain of the JFET; it indicates the amount of control

Computes similarity between two histograms, Write an m-file "distan.m"  whi...

Write an m-file "distan.m"  which does all the following operations: (i) computes 10 dimensional histogram of an input image             h1=sum(hist(imn,10)'); (ii) computes

Emitter follwer, Ask questertion #Minimum 100 words accepted#

Ask questertion #Minimum 100 words accepted#

Find the fourier series for the square wave, (a) Find the Fourier series fo...

(a) Find the Fourier series for the square wave shown in Figure(a). (b) Let a voltage source having the waveform of part (a) with a peak value of 100 V and a frequency of 10 Hz

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