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

Safe conduct in electricity and gas hazards, Safe Conduct : what if a tr...

Safe Conduct : what if a trailing flex became caught up in an apparatus trolley and was cut? Or someone splashed water onto a plug, or concentrated sulphuric acid onto a flex? F

Illustrate the detroit type of automation, Discuss different kinds of Autom...

Discuss different kinds of Automation and their Advantages? Illustrate the Detroit type of Automation? Discuss basic Principles and strategies automation? Discuss the industries

Calculate total resistance, Calculate total resistance among terminal A and...

Calculate total resistance among terminal A and B for the circuit below.

Sinusoidal inverter, i am going to make a sinusoidal inverter as my final y...

i am going to make a sinusoidal inverter as my final year project kindly help me in this regard.How can i make this project?

Analysis in equilibrium, Analysis in equilibrium : Solution of Poisson'...

Analysis in equilibrium : Solution of Poisson's Equation with suitable boundary conditions - Non-equilibrium analysis: The electron and hole densities are no longe

Vital parameters of regulator quality, Vital parameters of regulator qualit...

Vital parameters of regulator quality: 1. The output voltage's temperature coefficient of is the change in output voltage with temperature (perhaps averaged over a certain tem

Analysis of aspects of design for excellence, We commissioned a 'bad practi...

We commissioned a 'bad practice exemplar' by asking Plexus to modify a good design (provided by Valor) to demonstrate the most likely kinds of faults in each of the areas Design fo

Relative permeability, The force between two wires 1 metre apart and each c...

The force between two wires 1 metre apart and each carrying 1 amp is 2 x 10 -7 Newtons when in a vacuum (or in practice, air).However, it is found experimentally that the force is

Microprocessor, what is the function of CBW in the microprocessor

what is the function of CBW in the microprocessor

Magnetic field, what is the difference between static and induced emf

what is the difference between static and induced emf

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