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

Write a report on various types of diodes, a. write a report (at least  2 p...

a. write a report (at least  2 pages ) on various types of diodes( Show and explain  the theory, symbol, circuit, characteristics, data sheets and applications circuits using the d

Explain the different coupling schemes used in amplifiers, Q. Explain the d...

Q. Explain the different coupling schemes used in amplifiers? When amplifiers are cascaded, it is necessary to use a coupling network between the output of one amplifier and th

Explain about communication systems, Q. Explain about Communication Systems...

Q. Explain about Communication Systems? Even though most modern communication systems have only been invented and developed during the eighteenth and nineteenth centuries, it i

Interpoles and compensating windings, Interpoles and Compensating Windings:...

Interpoles and Compensating Windings: The most generally used method for aiding commutation is by providing the machine with inter poles, also known as commutating poles, or si

Explain the meaning of duality in boolean algebra?, Explain the Meaning of ...

Explain the Meaning of Duality in Boolean Algebra? Any algebraic equality that derived from the axioms of the Boolean algebra remains true when the operators OR and AND are in

Explain the operation of oscillators, Q. Explain the operation of oscillato...

Q. Explain the operation of oscillators. Oscillator is a circuit that changes dc energy from the power supply into ac energy. An amplifier provided with a positive feedback bec

permanent magnet stepper motor - stepper motor , Normal 0 fa...

Normal 0 false false false EN-IN X-NONE X-NONE   Permanent   Magnet Stepper Motor The s

Short-term measures for technical loss reduction, Short-Term Measures for T...

Short-Term Measures for Technical Loss Reduction The short-term measures involve measures needs for immediate improvement and reduction of losses within the system. These are

What do you understand by dram and its refreshing, What do you understand b...

What do you understand by DRAM and its refreshing? Dynamic RAM (DRAM) is fundamentally the same as SRAM, but this retains data for only 2 or 4 ms on an internal capacitor. But

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