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
Define the Binary Counting - Counters? The Binary counter is capable to be constructed from J-K flip-flops by taking the output of one cell to the clock input of the next The J

What is meant by Wait State? This state is used by slow peripheral devices. The peripheral devices can transmitted the data to or from the microprocessor by using READY input l

short notes on thermal runaway

# complete working of thermal transducers

Q. Examine the features of a typical PC motherboard? The purpose of this experiment is to examine the features of a typical PC motherboard, including: CPU and co-process

The RAKE receiver exploits multipath channel characteristics and scrambling codes with good cross-correlation properties to realize a maximum ratio diversity combiner. Multipath pr

Cost and Profitability - Proposed KPIs  KPI  UOM  Measures   RepresentativeStandards  Aggregate Technical &  Commercial L

Suppose that the length of a 10Base-5 cable is 2500 metres. If the speed of propagation in a thick co-axial cable is 60% of the speed of light, how long does it take for a bit to

Diffusion Capacitance Diffusion capacitance is the capacitance because of transport of charge carriers among the two terminals of a device, for instance, the diffusion of carr

Explain the terms: valence band, conduction band, valence electrons, and energy gap with the help of suitable diagrams. Valence Electrons: The electrons in the outermost orbi