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

Synchronization, Synchronization:  Whatever type of weep is used, it must ...

Synchronization:  Whatever type of weep is used, it must be synchronized with the signal being measured. Synchronization has to be done to obtain a stationary pattern. This requir

Can you explain about slew rate, Q. Can you explain about Slew Rate? Sl...

Q. Can you explain about Slew Rate? Slew (or slewing) rate is a measure of how fast the output voltage can change. It is given by the maximum value of dvo/dt , which is normall

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

Frequency response of amplifiers, Q. Frequency response of amplifiers? ...

Q. Frequency response of amplifiers? All amplifiers exhibit variations of performance as the signal frequency is changed. The frequency response of an amplifier may be defined

Find a state-variable formulation, Consider a system described by the coupl...

Consider a system described by the coupled difference equation y(k + 2) - ν(k) = 0 ν(k + 1) + y(k + 1) = u(k) where u(k) is the system input. (a) Find a state-variable

Explain briefly programmable interval timer 8254, Explain with proper diagr...

Explain with proper diagram all the six modes of operation of programmable interval timer 8254. Mode 0: The output in mode 0 is initially low, and will stay low for the perio

Digital Signal Processing, Can you do a survey paper on Wavelet and Subband...

Can you do a survey paper on Wavelet and Subband Coding? I need 10 pages and I will provide the references.

Resume, who to write resume for job

who to write resume for job

What is time switches, Q. What is Time Switches? Principle of a time sw...

Q. What is Time Switches? Principle of a time switch is displayed in Figure. It connects an incoming n channel PCM highway to an outgoing n channel PCM highway. As any incoming

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