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

Power system model, #i have an error at in the Matlab power system model..t...

#i have an error at in the Matlab power system model..thus i couldn''t run it...

Circuit analysis, what is quality factor in term circuit analysis

what is quality factor in term circuit analysis

Zener breakdown, Zener breakdown: Zener Breakdown takes place in very ...

Zener breakdown: Zener Breakdown takes place in very thin junction i.e. when both sides of junction layer is narrow. When a small reverse bias voltage is applied a Very strong

Change of phase, Write an m-file "myfourier.m" which takes two images, comp...

Write an m-file "myfourier.m" which takes two images, computes FFT, phase and amplitude and swaps the amplitudes between two images. function myfourier im1=imread('cameraman.pn

Magnetic Bond Method:, how does the magnetic bond method work? Application ...

how does the magnetic bond method work? Application of the magnetic bong method & advantages and disadvantages of the magnetic bond method.

Determine the required value of the flux density, Q. A 100-turn coil in the...

Q. A 100-turn coil in the configuration of is rotated at a constant speed of 1200 r/min in a magnetic field. The rms induced voltage across the coil is 1 kV, and each turn has a le

Digital logic design, how to sort three number in descending order and disp...

how to sort three number in descending order and display on seven segment

Explain television signal transmission, Q. Explain Television signal transm...

Q. Explain Television signal transmission? Television signals in television signal transmission are the electric signals generated by converting visual images through raster (T

Microprocessor, Memory map of tpa in a personal computer and explain such o...

Memory map of tpa in a personal computer and explain such of the areas in brief

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