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

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

Role of consumers in distribution reform, Role of Consumers in Distribution...

Role of Consumers in Distribution Reform In the reforms procedure, mandatory metering for all consumers is being implemented.  Consumers should implement this measure. Public

Unit to measure the electric charge q, Unit to measure the electric charge ...

Unit to measure the electric charge Q?? The unit used to measure the quantity of electrical charge Q is called the coulomb C

Determine the current and voltage in given network, Q. For a part of the ne...

Q. For a part of the network shown in Figure, given that i 1 = 4A; i 3 (t) = 5e -t , and i 4 (t) = 10 cos 2t, find v 1 , v 2 , v 3 , v 4 , i 2 , and i 5 .

Describe the lastprivate clause, Q. Describe the Lastprivate Clause? Th...

Q. Describe the Lastprivate Clause? The lastprivate clause declares one or more list items to be private to a thread in additin causes corresponding original list item to be up

Microcontroller, Project Garage door opener with password. Wrong password ...

Project Garage door opener with password. Wrong password "door close" on lcd screen, correct password "door open" on lcd Screen no need the motor. Material used - Microcontroller

Radio hardware, Filters 1. You need to design a lowpass filter with cutoff ...

Filters 1. You need to design a lowpass filter with cutoff frequency Fc= 1MHz. a. What is the minimum filter order required for 30 dB rejection (-30 dB gain) of 10 MHz? b. What is

Superposition theorem, how do you work it out if there are 3 sources in par...

how do you work it out if there are 3 sources in parallel?

Dynamics of electrical machines, 1. Modeling of Armature and Field Controll...

1. Modeling of Armature and Field Controlled DC motors: Steady state and dynamic models; development of block diagrams;  assumptions used; complexity involved in realistic models;

Find out form factor and peak factor, Find out Form factor and Peak factor:...

Find out Form factor and Peak factor: For the output of full wave rectifier, find out (a) RMS value, (b) Average value, (c) Form factor, and (d) Peak factor. S

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