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
#quetunnel diode stion..

Explain Diffusion. Diffusion : Though, the mobility of the carriers in a semiconductor is greater than the electrons in metals, the conductivity in the former is much less t

Describe the effect of following parameters on working rate and accuracy of material removal in AJM. (i) Grain size (ii) Stand off distance (iii) Jet velocity. Draw sch

Hysteresis loss least depends on (A) Frequency.                         (B) Magnetic field intensity. (C) Volume of the material.     (D)Grain orientation of material.

Load Stack Pointer This  instruction loads the stack  pointer  register with the 16 - bit  data specified in the   instruction. The 16 - bit  data. When  stored in sp  registe

How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates only ?

Q. Explain the basic macroeconomic policy trilemma for open economies. Answer: Of three goals mainly countries share - independence in financial policy and stability in t

Balanced Score Card and Key Performance Indicators Every successful organization measures its performance across the subsequent parameters, for dissemination to all stakeholde

(a) The circuit of Figure 1 represents an amplifier-speaker connection. The filter is a low pass filter which is connected to the woofer. The filter is a -network. (i) Design a