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

Gauss, research paper on gauss,s law?

research paper on gauss,s law?

Evaluate phase difference between voltage and current, Evaluate Phase diffe...

Evaluate Phase difference between voltage and current: An inductive coil of reactance 15.7 Ω and resistance 32 Ω is connected in series with a capacitor of reactance 79.5 Ω. T

Dissemination of Learning - KPI, Dissemination of Learning - KPI Manag...

Dissemination of Learning - KPI Management has initiated a program, consequently invested a considerable amount of resources and learnt a lesson too. This learning now needs t

Sketch the phasor diagram, Q. A balanced delta-connected load with a per-ph...

Q. A balanced delta-connected load with a per-phase impedance of 12 + j9  is supplied by a 173-V, 60-Hz three-phase source. (a) Determine the line current, the power factor, th

What are the uses of mosfet, Q. What are the uses of MOSFET? The most c...

Q. What are the uses of MOSFET? The most common use of MOSFET transistors today is the CMOS (complementary metallic oxide semiconductor) integrated circuit which is the basis f

Working principle of an electronic voltmeter, Q.   Explain the working prin...

Q.   Explain the working principle of an electronic voltmeter. Sol. Electronic voltmeter Basic Voltmeter: The addition of a series resistor, or multiplier, converts the

Applications of hall effect, Applications of Hall Effect: (i)  To dete...

Applications of Hall Effect: (i)  To determine whether semiconductor is of n type or p type. (ii) To determine carrier concentration. (iii) Measurement of carrier mobili

Data analysis in gis, Data analysis in GIS: Therefore, GIS consists of...

Data analysis in GIS: Therefore, GIS consists of the following: 1.  Database - for storage and retrieval of information. The database forms the foundation of the GIS syst

Reduction of sequential monte carlo in medium voltage, how can optimized th...

how can optimized the system through the matlab software?

Managing change, Managing Change: 1 The prominent actors included in t...

Managing Change: 1 The prominent actors included in the change procedure in an organisation are Change Makers, Change Agents, Change Leaders and they play a strategic role 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