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

Find the expression for the no-load speeds, Q For a three-phase, fully cont...

Q For a three-phase, fully controlled, recti?er-fed, separately excited dc motor, corresponding to ideal no-load operation, find the expression for the no-load speeds. Comment on w

Dc, what is quantization noise

what is quantization noise

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).

Determine the system active power, A three-phase, 4160 V, 60 Hz, 3000 kVA g...

A three-phase, 4160 V, 60 Hz, 3000 kVA generator supplies the following three phase loads:  A 00 kVA at .7 pf lagging, D 00 kVA at .9 pf lagging, and C 50 kVA at unity pf.

Impact of abnormal solar winds on the earth, (a) Provide examples of intent...

(a) Provide examples of intentional electromagnetic sources and examples of unintentional sources. (b) Describe the process of the formation of lightning. (c) Reduce each of

Electronic devices and circuits, Determine the change in IC from 25ºC to 17...

Determine the change in IC from 25ºC to 175ºC for the transistor defined in this table for fixed-bias with RB = 240 k and = 100 due to the S(VBE) stability factor.

Determine the bit-error probability for the two systems, Let both coherent ...

Let both coherent ASK and coherent PSK systems transmit the same average energy per bit interval and operate on the same channel such that E b /N 0 = 18. Determine the bit-error p

Motor, operation of induction motor

operation of induction motor

Voltage doubler, Voltage Doubler: The network of Fig. is a half wave v...

Voltage Doubler: The network of Fig. is a half wave voltage doublers. During the positive voltage half cycle across the transformer, secondary diode D 1 conducts, charging ca

The basic operation of battery, The basic operation of battery  A simpl...

The basic operation of battery  A simple cell comprises two dissimilar conductors (electrodes) in an electrolyte. Such a cell comprises copper and zinc electrodes. An electric

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