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
What are the advantages of distributing windings in an alternator?

having looked at the circuit, i first wanted to start my frequency from 0 and plot for 10000 to 20000. so in matlab i used f = 0:10000:20000; but the equation for frequency is f= 1

What is the use of ALE The ALE is used to latch the lower order address so that it can be available in T2 and T3 and used for identify the memory address. During T1 the ALE goe

Use delta-wye transformation for network reduction and determine the current through the 12- resistor in the circuit of Figure(a).

Calibration and Testing of Energy Meters and Meter Laboratory Energy meters form a vital instrument of revenue realization for the distribution utilities. Based on the meter r

Q. Explain Read-only memory? ROM is nonvolatile (because it maintains its contents even when its power is shut off) and is used to store data and programs that do not change du

define all the symbols with their unit

High-pass T filters: Three-element filters can comprise a 'T' or 'π' topology and in either geometries, a low-pass, band-pass, high-pass, or band-stop characteristic is feasib

A four-pole, three-phase inductionmotor is energized from a 60-Hz supply. It is running at a load condition for which the slip is 0.03. Determine: (a) The rotor speed in r/min.

Filters 1. You need to design a lowpass filter with cutoff frequency Fc= 1MHz. a. What is the minimum filter order required for 30 dB rejection (-30 dB gain) of 10 MHz? b. What is