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
The contents of compressed gas cylinders can range from highly flammable substances, such as hydrogen, propane and ethane (acetylene), to toxic gases, such as chlorine, sulphur dio

Define intermodal dispersion? Dispersion of the transmitted optical signal causes distortion for both digital and analog transmitted signal. The dispersion causes broadening o

how to design a single phase distribution circuit from a supply point to a load(lights)


Q. Grade of Service In loss systems? Grade of Service : In loss systems, traffic carried by the network is normally lower than actual traffic offered to the network by subscri

A 10-hp, 230-V, 500-r/min shunt motor, having a full-load armature current of 37 A, is started with a four-point starter. The resistance of the armature circuit, including the inte

Q. The two-wattmeter method for measuring three-phase power is applied on a balanced wye-connected load, and the readings are given by W C = 836W and W A = 224 W If the system

Balanced Budget Laws: Laws (usually passed by right-wing governments) that require governments to run balanced budgets regardless of state of the overall economy. These lawshave th

Q. What is Idss. What are the conditions for its maximum value? The term 'Idss' refers to saturation condition of the Drain current. From the above graph it's clear that as the

Q. Show the Storage Layout of digital system? The IEEE floating point numbers have three basic components: the sign, the exponent, and the mantissa. A mantissa is composed of t