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

ET1410, MODULE 2 EXERCISE: OP-AMP CONFIGURATION

MODULE 2 EXERCISE: OP-AMP CONFIGURATION

Determine whether the diode in circuit, Determine whether the diode (consid...

Determine whether the diode (considered to be ideal) in the circuit of Figure (a) is conducting.

Calculation of aggregate technical and commercial loss, Calculation of Aggr...

Calculation of Aggregate Technical and Commercial Loss The concept of AT&C loss was introduced within 2001-02. The AT&C losses are presently in the range of 18% to 62% in seve

Guarding Against Loss in Transformers, Guarding Against Loss in Transformer...

Guarding Against Loss in Transformers Distribution transformers are expected to convert up to 95-98% of the input power into usable output power. A distribution transformers i

Compute the voltage, Q A point charge Q 1 =-5 nC is located at (6, 0, 0). ...

Q A point charge Q 1 =-5 nC is located at (6, 0, 0). Compute the voltage v ba between two points a(1, 0, 0) and b(5, 0, 0). Comment on whether point a is at a higher potential wi

Schottky diodes - types of power diodes , Schottky  diodes The schot...

Schottky  diodes The schottky diodes have very fast recovery time and  low forward drop.  The current  ratings of  these diodes  vary  from 1A to 300 a and  maximum  allowable

What is memory paging, What is memory paging? The memory paging mechan...

What is memory paging? The memory paging mechanism located inside the 80386 and above permits any physical memory location to be assigned to some linear address.

Develop a block diagram for a bcd encoder, Q. Based on the 8421 BCD code fo...

Q. Based on the 8421 BCD code for decimal digits 0 through 9, develop a block diagram for a BCD encoder and its implementation scheme.

What do you mean by amplifier block, Q. What do you mean by Amplifier block...

Q. What do you mean by Amplifier block? An amplifier can be modeled as a two-port device, that is, a box with two pairs of terminals designated as input and output, as shown in

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