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

The electrical circuit, Normal 0 false false false EN-U...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Switching characteristics , Switching Characteristics The switching  c...

Switching Characteristics The switching  characteristics of power MOSFET the delay time and rise time are responsible to remove the  effect of internal capacitance of the devi

Explain about transistor amplifiers, Q. Explain about Transistor Amplifiers...

Q. Explain about Transistor Amplifiers? Amplifiers are circuits that produce an output signal which is larger than, but proportional to, an input signal. The input and output s

What is enhancement mosfets, Q. What is Enhancement MOSFETS? Figure ill...

Q. What is Enhancement MOSFETS? Figure illustrates the cross-sectional structure of an n-channel enhancement MOSFET and its symbol showing as a normally off device when used fo

Gis based mapping of electrical network, GIS Based Mapping of Electrical Ne...

GIS Based Mapping of Electrical Network: You have learnt in which the Geographic Information System is a system of mapping of the complete electrical network. The question we

Determine the maximum length, Q. If the line of Problem 15.1.3 is made of c...

Q. If the line of Problem 15.1.3 is made of copper whose resistivity ρ = 1.72×10 -8 ·m, determine the maximum length that can be used if losses are not to exceed 3 dB when f = 3

Low-pass electronic filter, Low-pass electronic filter: The capacitors...

Low-pass electronic filter: The capacitors and inductors are the reactive elements of the filter. The number of elements ascertains the order of the filter. In this situation,

Explain common collector configuration, Q. Explain common collector configu...

Q. Explain common collector configuration? It is called the common-collector configuration because (ignoring the power supply battery) both the signal source and the load share

The initial discharge current, A 0.1µF capacitor is charged to 200 V before...

A 0.1µF capacitor is charged to 200 V before being connected across a 4 kΩ resistor. Determine: (a)  The initial discharge current (b)  The time constant of the circuit

Stax store accumulator indirect instruction , STAX Store  Accumulator  In...

STAX Store  Accumulator  Indirect Instruction This  instruction is used to  copy data from accumulator to the memory  location pointed by register pair ( only  BC or DE pair).

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