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

How to calculate the bus - bar voltage and kilowatt output., Q.   Two shunt...

Q.   Two shunt wound generators running in parallel supply a total load current of 4000 A. Each generator has an armature resistance of 0.02? and a field of 40?. The fiels are exci

Determine the critical load, A rocket on a test stand is modeled as a colum...

A rocket on a test stand is modeled as a column clamped at x = 0 and free at x = L, and subjected to compressive force P applied at the free end. The direction of load P remains

What is the size of ports in 8255, What is the size of ports in 8255? P...

What is the size of ports in 8255? Port-A : 8-bits Port-CU : 4-bits Port-B : 8-bits Port-CL : 4-bits

Explain working of capacitor motors, Q. Explain working of Capacitor motors...

Q. Explain working of Capacitor motors? Capacitor motors have a capacitor in series with the auxiliary winding and come in three varieties: capacitor start, two-value capacitor

Calculation of AT&C loss, how to make a matlab program for calculation of A...

how to make a matlab program for calculation of AT&C loss for perticular area

Collector-to-base bias, Collector-to-base bias: Figure: Collec...

Collector-to-base bias: Figure: Collector-to-base bias This configuration uses negative feedback to avoid thermal runaway and stabilize the operating point. In th

Crossmagnetisation, what is crossmagnetisation in dc generator

what is crossmagnetisation in dc generator

What do you mean by counters, Q. What do you mean by Counters? The shif...

Q. What do you mean by Counters? The shift register can be used as a counter because the data are shifted for each clock pulse. A counter is a register that goes through a pred

Write short note on quantization, Q. Write short note on Quantization? ...

Q. Write short note on Quantization? Quantization: This is first step in PCM. Total amplitude range of the modulating signal is divided into a number of standard levels calle

Illustrate the basic working of modem, Q. Illustrate the basic working of M...

Q. Illustrate the basic working of Modem? Modem: Modems are generally provided by network operators or by vendors who aren't necessarily the manufacturers of computer systems.

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