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

Hi, Two projects using the principle of functional independence, increases ...

Two projects using the principle of functional independence, increases system accuracy?

Merits and demerits of stepper motor - stepper motor , Merits and Demerits ...

Merits and Demerits of Stepper Motor Followings  are the  merits and demerits  of stepper motors. Merits : a.They are compatible  with digital systems b.For the co

Composition of mosfet, Composition of MOSFET  In a test pattern the P...

Composition of MOSFET  In a test pattern the Photomicrograph of two metal-gate MOSFETs. Probe pads for two gates and three source or drain nodes are entitled.Generally the se

Explain the working of positive clamper, Q . Explain the working of Positiv...

Q . Explain the working of Positive Clamper? Positive Clamper: The circuit for a positive clamper is shown in the figure. During the negative half cycle of the input signal,

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.

Cro, role of trigger circuit in cro

role of trigger circuit in cro

Draw and explain the r-2r ladder dac, Question 01 Convert the following bi...

Question 01 Convert the following binary numbers to its specified number system 111.101 (2) to octal 10111 (2) to decimal 0.1010 (2) to hexadecimal 1011.11 (2)

Explain sahf instructions in 8086 family, Explain SAHF instructions in 80...

Explain SAHF instructions in 8086 family with example and their effect on flag. SAHF: Store AH register in flag register, this is an instruction utilized to store the data i

Comparison of rs232c and rs422a standards, Explain explanatory notes on com...

Explain explanatory notes on comparison of RS232C and RS422A standards. Comparison of RS232C and RS422A standards: RS232C 1. Standard explained for asynchronous commu

What is resistivity, What is resistivity? Resistivity of a material ma...

What is resistivity? Resistivity of a material may be explained as the resistance of the material having unit length and also unit cross sectional area. Unit of it is ohm-m.

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