Program description , Electrical Engineering

Assignment Help:

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.


Related Discussions:- Program description

Sketch the asymptotic bode diagrams, Q. Sketch the asymptotic Bode diagrams...

Q. Sketch the asymptotic Bode diagrams for the following functions:

Determine the transfer function in notch network, Q. The twin-tee or notch ...

Q. The twin-tee or notch network shown in Figure is often used to obtain band-reject characteristics. (a) Determine the transfer function V 2 /I 1 . (b) Find the angular freq

Analyse the characteristics of a dc machine, Theoretical calculations T...

Theoretical calculations The characteristics of the d.c. machine you will be investigating are given on the last page of this part. Use 200V DC supply for both armature and fie

Explain branch prediction logic in pentium, Explain Branch prediction logic...

Explain Branch prediction logic in Pentium. Branch prediction logic in Pentium: The Pentium microprocessor utilizes branch prediction logic to decrease the time needed for a

Find the resistor values of rc, Apply the rule-of-thumb dc design presented...

Apply the rule-of-thumb dc design presented in this section for a silicon npn BJT with β = 70 when the operating Q point is defined by I CQ = 15 mA and I BQ = 0.3 mA, with a dc s

For sign flag , For Sign Flag  CP ( Call on plus ) CM (Call on minus ...

For Sign Flag  CP ( Call on plus ) CM (Call on minus ) Instruction CP call  the subroutine  from the  specified  memory  location if  sign flag is not set or reset( S=0)

Circuit theorems, limitations and applications of following circuit theorem...

limitations and applications of following circuit theorems: telleans theorem superposition theorem norton theorem compensation theorem millman theorem reciprocity theorem maximum p

Give illustration of and and or gate - microprocessor, Give Illustration of...

Give Illustration of AND and OR Gate - Microprocessor? Illustration: The image below demonstrate the 4 possible inputs into a 2-input AND gate and all the corresponding outputs

What are the different types of coupling in amplifiers, Q. What are the dif...

Q. What are the different types of coupling in amplifiers? The coupling between stages of amplifications may also be used to classify amplifiers. There are four main groups: di

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd