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

Two-level system - princeton, Conceive a system composed of a very large nu...

Conceive a system composed of a very large number N of distinguishable atoms at rest and mutually noninteracting, each of which has only two (nondegenerate) energy levels:0,ε>0 Let

Dcr decrement instruction , DCR  Decrement Instruction This instructi...

DCR  Decrement Instruction This instruction  is used to decrement  the contents of any  register or memory  location by one. There are two  formats.

Matrix converters, i need tutor for teaching me matrix converter based upfc...

i need tutor for teaching me matrix converter based upfc modelling and building using matlab

Digital modulation, what are the different digital modulation techniques?

what are the different digital modulation techniques?

Power transformer, define propagation characteristic in transformer

define propagation characteristic in transformer

Practical properties of operational amplifiers, Q. Practical properties of ...

Q. Practical properties of operational amplifiers? To achieve voltage gain and consequently power gain, the op amp must be biased by a dc source. The biasing network is compris

Explain pentium processor has a superscalar architecture, 'Pentium processo...

'Pentium processor has a superscalar architecture'. Explain the meaning of the statement. The Pentium microprocessor is organized along with three execution units. Single execu

Abrasive jet machining system, Describe the effect of following parameters ...

Describe the effect of following parameters on working rate and accuracy of material removal in AJM. (i) Grain size (ii) Stand off distance (iii) Jet velocity. Draw sch

Value of current if resistance connected to the battery, One battery having...

One battery having of eight cells in parallel. Emf and internal resistance of every cells is 1.5V and 0.4Ω. Find the value of current if an external resistance of 5Ω is connected t

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