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

Illustrate procedure of hex to binary conversion, Q. Illustrate procedure o...

Q. Illustrate procedure of Hex to Binary Conversion? It is also simple to convert from an integer hex number to binary. This is achieved by: Convert the Hex number t

In what way is program control superior to wired control, Q. Classify switc...

Q. Classify switching systems. In what way is stored program control superior to hard wired control? Ans: Classifications of switching systems are givenin block diagram belo

Find an expression for the power absorbed by the load, Q. For the circuit o...

Q. For the circuit of Figure: (a) Find an expression for the power absorbed by the load as a function of RL. (b) Plot the power dissipated by the load as a function of the lo

Network theorems.., how to calculate voltage when 3 voltage sources are giv...

how to calculate voltage when 3 voltage sources are given?

Electronics, Figure 1(a) shows a simple one-stage MOSFET amplifier. The inp...

Figure 1(a) shows a simple one-stage MOSFET amplifier. The input-output relationship is graphed in Figure 1(b), where the solid curve indicates operation in the saturated region an

Estimate the bandwidth by using carsons rule, Let a message signal m(t) hav...

Let a message signal m(t) have a bandwidth of 10 kHz and a peak magnitude of 1 V. Estimate the bandwidth, by using Carson's rule, of the signal u(t) obtained when m(t) modulates a

Clipper, how to write kvl equation in series clipper circuit without any ba...

how to write kvl equation in series clipper circuit without any battery

Effect of supply voltage - stepper motor , Effect of Supply  Voltage ...

Effect of Supply  Voltage a.As the applied  as voltage  is increased hysteresis loss increases. b.Eddy current losses are given by W e α f 2 t 2 B 2 m Where B m =

Thermal –root , A moving coil galvanometer consists of a coil  in a uniform...

A moving coil galvanometer consists of a coil  in a uniform magnetic field B o, suspended fro a fibre of torque constant C, current I produces a deflection O=nAB o i/c where n is

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