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

Schematic diagram of led based system, Q. Schematic Diagram of LED based Sy...

Q. Schematic Diagram of LED based System ? As shown in the two schematic diagrams above, the LEDs in a seven-segment display are not isolated from each other. Rather, eith

Database resources, HELLO.can I have a short note on database resources

HELLO.can I have a short note on database resources

Draw frequency response curve, Q. Sketch An Rc Coupled Two Stage Amplifier....

Q. Sketch An Rc Coupled Two Stage Amplifier. Draw Its Frequency Response Curve And Account For Its Stages. The figure above shows a two stage RC coupled amplifier. The sig

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

Basis vectors, • Vectors can be represented in terms of basis vectors, a se...

• Vectors can be represented in terms of basis vectors, a set of vectors that span the vector space • Mostly will use i, j, k to denote a Cartesian right-handed basis set • V

Calculate the gross torque developed for a flux, Q. A four-pole, dc seriesm...

Q. A four-pole, dc seriesmotor has a lap-connected, two-layer armature winding with a total of 400 conductors. Calculate the gross torque developed for a flux per pole of 0.02 Wb a

Circuit symbols for mosfet, Circuit Symbols for MOSFET A range of symb...

Circuit Symbols for MOSFET A range of symbols are employed for the MOSFET. The basic design is usually a line for the channel along with the source and drain leaving it at rig

Digital electronics, an 8 bit successive approximation adc has a resolution...

an 8 bit successive approximation adc has a resolution of 20mv. what will be its ouput analogue input of 2.17v

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