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

Gis application, GIS APPLICATION IN THE POWER DISTRIBUTION ENVIRONMENT ...

GIS APPLICATION IN THE POWER DISTRIBUTION ENVIRONMENT Previously, we have discussed the IT applications in the areas of Metering, Data Acquisition and Management, Asset Manage

Operation of zener diode, Operation of Zener Diode The Zener diode's o...

Operation of Zener Diode The Zener diode's operation depends upon the heavy doping of its p-n junction permitting electrons to tunnel from the valence band of the p-type mater

Embedded system, comment instruction for LIST p=18f4550

comment instruction for LIST p=18f4550

What are the different types of coupling in amplifiers, Q. What are the dif...

Q. What are the different types of coupling in amplifiers? The coupling between stages of amplifications may also be used to classify amplifiers. There are four main groups: di

What are the various types of amplifiers, Q. What are the various types of ...

Q. What are the various types of amplifiers? Amplifiers can be classified as follows: (a) Based on the transistor configuration 1. Common emitter amplifier 2. Common c

Electronic monitor and alarm system for an oil separator, This assignment i...

This assignment is to develop a User Requirements Specification for an electronic monitor and alarm system for an Oil Separator in Surface Water Drainage Systems. These separato

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

Home energy management.., I need help to build a circuit diagram for home e...

I need help to build a circuit diagram for home energy management.It includes load controllers,a central system in which we should programme all of the control commands,and a two w

Various steps in designing the counter, Design a mod-15 counter. Explain th...

Design a mod-15 counter. Explain the various steps in designing the counter

Diode, using a sketch explain the frequency response of rc coupled transist...

using a sketch explain the frequency response of rc coupled transistor amplifier

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