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

Digital electronics, Design a recycling MOD 19 up counter using JK FFs. In ...

Design a recycling MOD 19 up counter using JK FFs. In your design, include the logic circuit diagram and the timing diagram output that counts from 000002 = 010 to 100112 = 1910. C

Draw and explain an rc integrator, Q. Draw and explain an RC integrator .De...

Q. Draw and explain an RC integrator .Derive the relation between input  and output voltage. Solution: A circuit in which the output voltage is directly proportional  to the

Ei enable interrupts instruction , EI Enable Interrupts  Instruction ...

EI Enable Interrupts  Instruction The interrupt enable flip  flop  is set  and all the interrupts  of 8085  microprocessor are  enabled  which are  disabled  by DI  instructi

Principles for implementation of strategy in organization, Principles for I...

Principles for Implementation of Strategy in an Organization Organization required focusing on five principles for the successful implementation of strategy. Organizations wil

..analong course design, Askhigh precision linear amplifier question #Mini...

Askhigh precision linear amplifier question #Minimum 100 words accepted#

Limitations, Limitations: 1. Silicon transistors do not function at vo...

Limitations: 1. Silicon transistors do not function at voltages much higher than about 1,000 volts (SiC devices can be worked as high as 3,000 volts). In difference, electron

Thevenins theorem, How to solve questions on thevenin theorem

How to solve questions on thevenin theorem

Determine the power flow diagram for a dc generator, a. Determine the power...

a. Determine the power flow diagram for a DC generator. b. A shunt wound DC generator delivers 496 A at 440 V to a load. The resistance of  the shunt field coil is 110? and that

Shunt capacitors, Shunt Capacitors Line losses owing to poor PF can be...

Shunt Capacitors Line losses owing to poor PF can be decreased through improving the PF. Overall improvement in the operating condition can be brought about through reducing t

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