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

Demand meters, Demand Meters Demand meters measure volt-amperes (in kV...

Demand Meters Demand meters measure volt-amperes (in kVA), that merge both reactive (reflected) and actual (consumed) power. In its easiest form, a demand meter has a gauge wh

Analog signal processing, Derive Equation 13-20 pertaining to the convers...

Derive Equation 13-20 pertaining to the conversion algorithm based on redefined unit capacitor

Achieving reforms goals using gis applications, Achieving reforms goals usi...

Achieving reforms goals using GIS applications: GIS could help in achieving the above reforms goals through various applications: •  Creation of consumer database and cons

Mode 1 - buck converter , Mode 1 ( 0 By  applying a positive  output ...

Mode 1 ( 0 By  applying a positive  output  pulse  of the pulse  width modulator to  the  transistor Q 1 it gets turned on.  An input  current  in flows  through V in   Q 1

DSP-chebyshev, Consider Chebyshev Type I versus Chebyshev Type II (also cal...

Consider Chebyshev Type I versus Chebyshev Type II (also called inverse Chebyshev) Ölters. Which one should be used based on the following criteria? (If there is no difference betw

Digital electronics, Digital Electronics: We have study the fundamenta...

Digital Electronics: We have study the fundamentals of Digital circuits. Primary we have studied the mathematics of Binary numbers also called as Boolean algebra and how to im

Find out form factor and peak factor, Find out Form factor and Peak factor:...

Find out Form factor and Peak factor: For the output of full wave rectifier, find out (a) RMS value, (b) Average value, (c) Form factor, and (d) Peak factor. S

Objectives of electricity and gas hazards, Objectives After studying th...

Objectives After studying this unit, you should be able to: 1. Describe the consequences of passing electric current through human body, 2. State and recognise the colour

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