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

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

Explain the programming of 8254 microprocesser, Explain the programming of ...

Explain the programming of 8254 microprocesser. 8254 Programming: All counters are individually programmed through writing a control word, followed with the initial count.

Psuedo code, Ask questiIn a right triangle, the square of the length of one...

Ask questiIn a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sides. Stephanie has the integer lengths of t

Resistance, factors affecting resistance

factors affecting resistance

Marginal tax rate, Stratos Corporation is a privately held tablet semicondu...

Stratos Corporation is a privately held tablet semiconductor technology firm with bright growth prospects.The past 5 years have seen the firm evolve from a pure startup to a profit

Hall effect, Describe hall effect?also describe it''s mathematical analysis...

Describe hall effect?also describe it''s mathematical analysis and it''s properties

Determine the motor speed at a specific line current, Q. A dc series motor ...

Q. A dc series motor operates at 750 r/min with a line current of 100 A from the 250-V mains. Its armature-circuit resistance is 0.15  and its series-field resistance is 0.1 . As

Explain inductorless filters, Q. Explain Inductorless Filters Inductorl...

Q. Explain Inductorless Filters Inductorless (Active) Filters Filters (used to pass or eliminate certain frequency components of a signal) that are suitable for IC fabricati

Factors affecting frequency response of an amplifier, Q. What is their rela...

Q. What is their relation with gain? What are the factors affecting frequency response of an amplifier? Some amplifiers should be "flat" across a band of frequencies. In other

Hybrid parameters, Hybrid parameters (or) h - parameters:- If the ...

Hybrid parameters (or) h - parameters:- If the input current that is denoted as i 1 and output Voltage that is denoted as V 2 are takes as independent variables, input v

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