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
stack Pointer (SP) It is also a 16 bit  register and a  memory  pointer similar to  program counter. It holds  the memory  address of the  top of the stack. Stack is a  part of

Q. Show the schematic arrangement for: (a) one- dimensional addressing, and (b) two-dimensional addressing, if a 32-kbit ROM is used to provide an 8-bit output word.

Q. In the ideal inverting summing amplifier circuit with two inputs, for R f = 10 k, find R 1 and R 2 so that v o = -10v i1 -5 vi2 .

Using the optimized 6-311G(d,p) geometry determined in question 1, perform the following equivalent core calculations for any two inequivalent carbons of butadiene: (a) Equivale

Geographic Information System: Geographic Information System (GIS) is a computer system capable of assembling, manipulating, storing, and displaying geographically referenced

Management Process of Balanced Score Card The BSC (Balanced Score Card) proposes four a new management processes which separately and in combination, contributes to linking lo

P-N Junction   A p-n junction is made by joining P-type and N-type semiconductors together in extremely close contact. The word junction consider to the boundary interface

(a) Describe the four functions of the physical layer in the Internet Model. (b) (i) With the help of a diagram describe the main stages involved in the digitization of a

The Lennox to Bowmanville 500 kV circuit, spanning a distance of about 180 km, has series (inductive) impedance j 0.0224 pu and shunt (capacitive) admittance j 2.34 pu, quoted on b

Q. Show NPN Common Base Amplifier? This configuration is used for high frequency applications because the base separates the input and output, minimizing oscillations at h