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
Q. Show the Subtraction Method? For this procedure (method), start with a weighted position value greater that the number. If the number is greater than the weighted position f

What is the main difference between 16 bit and 32 bit versions of C/C++ while using in line assembler. The 32-bit applications are written by using Microsoft Visual C/C++ for t

hi there i just need help for Electrical Engineering Design Report about any topic (prefer charger and inverter) which should be include Summary,Table of contents,Introduction,Body

Q. Explain how presentation layer helps in processing and establishing data in End to End layers. Ans: The purpose of presentation layer is to represent information to commu

advantages and disadvantaages of superposition

Q. What are the advantages and disadvantages of a R-C coupled amplifier. Advantages · It has excellent frequency response. The gain is constant over the audio frequency ra

Q.  Give suitable block diagram to explain the working of electronic multimeter. Sol. An electronic multimeter is a laboratory instrument which is capable of measurement of

Q. Obtain the Thévenin and Norton equivalent circuits for the portion of the circuit to the left of terminals a-b in Figure, and find the current in the 200- resistance.

Charging of the capacitor: Considering the below diagram, with slight approximation the ripple voltage can be supposed as triangular. To the cut-out point from the cut-in poin

hi can you help with newton raphson?