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

Modify the jk flip-flop to operate like the t flip-flop, Q. A JK flip-flop ...

Q. A JK flip-flop is shown in Figure (a). (a) Modify it to operate like the D flip-flop of Figure (b). (b) Modify the JK flip-flop to operate like the T flip-flop of Figure (

Determine excitation voltage and power angle, A 500KVA, 6 pole, 500v, 3 pha...

A 500KVA, 6 pole, 500v, 3 phase, wye-connected synchronous generator has a synchronous impedance of 0.1 + j1.5 ohms per phase. If the generator is driven at 1000 r.p.m., what is th

Overview of decimal number system, Q. Can you give some Overview of Decimal...

Q. Can you give some Overview of Decimal Number System? The Decimal Number System uses base 10 and It includes the digits from 0 through 9. The weighted values for each positio

For an n-channel jfet find voltage, Q. For an n-channel JFET with V A = 35...

Q. For an n-channel JFET with V A = 350 V, I DSS = 10 mA, and V P = 3V, find V DS that will cause i D = 11 mA when v GS = 0.

Sampled-data and digital control systems, Q. Sampled-data and digital contr...

Q. Sampled-data and digital control systems? These differ fromthe continuous-data systems in that the signals at one or more points of the system are in the form of either a pu

Metal oxide field effect transistor, Metal Oxide Field Effect Transistor ...

Metal Oxide Field Effect Transistor The metal-oxide-semiconductor field-effect transistor (MOSFET/MOS-FET/MOS FET) is a device employed for amplifying or for switching electr

Impedance diagram of per uint values, explian briefly with in diagram and n...

explian briefly with in diagram and numerical examples

Electronics, The mobility of free electrons and holes for pure silicon are ...

The mobility of free electrons and holes for pure silicon are 0.13 and 0.05 m2/V-S respectively. Find the intrinsic conductivity for silicon. Assuming ni = 1.5x 1016/cm3 at room te

Function of time base generator, Q. Explain the function of time base gener...

Q. Explain the function of time base generator in CRO. Sol. Oscilloscopes are used to display a waveform that varies as a function of time. If the waveform is to be accuratel

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