Program description , Electrical Engineering

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.

Posted Date: 4/5/2013 1:22:36 AM | Location : United States







Related Discussions:- Program description , Assignment Help, Ask Question on Program description , Get Answer, Expert's Help, Program description Discussions

Write discussion on Program description
Your posts are moderated
Related Questions
Q. Explain working of Shaded-pole motors? Shaded-pole motors: The least expensive of the fractional-horsepower motors, generally rated up to 1 / 20 hp, they have salient stator

Q. What is permeability of magnetic material? For magnetic material media, the magnetic flux density B, expressed in tesla (T) or Wb/m 2 , and the field intensity H, expressed

Q. A 25-kVA, 2400/240-V, 60-Hz, single-phase transformer has an equivalent series impedance of 3.45 + j5.75  referred to the primary high voltage side. The core loss is 120 W. Whe

Determine the equivalent resistance of circuit: Determine the equivalent resistance of network across the source terminals and find the current drawn from the source.

scientific method in operations research

Charge density In a semiconductor

MODULE 2 EXERCISE: OP-AMP CONFIGURATION

What is mgnomotive force

Give the examples of sinusoidal with two equations?

Project Garage door opener with password. Wrong password "door close" on lcd screen, correct password "door open" on lcd Screen no need the motor. Material used - Microcontroller