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

Explain working of induction machine rotor, Q. Explain working of induction...

Q. Explain working of induction machine rotor? The induction machine rotor may be one of two types: the wound rotor or the squirrel-cage rotor. The wound rotor has a polyphase

Find in wavelengths how long the line, Q. A transmission line with air diel...

Q. A transmission line with air dielectric is 25 m long. Find, in wavelengths, how long the line is at frequencies of 1 kHz, 10 MHz, and 100 MHz.

Expression for the real power transfer capacity, Q. Consider a lossless tra...

Q. Consider a lossless transmission line with only a series reactance X. (a) Find an expression for the real power transfer capacity of the transmission system. (b) What is P

Types of field-effect transistors, Types of Field-Effect Transistors T...

Types of Field-Effect Transistors The channel of a FET (field-effect transistor) is doped to produce either an N-type semiconductor or a P-type semiconductor. The drain and so

Determine the voltage transfer function, Q. Determine the voltage transfer ...

Q. Determine the voltage transfer function of the low pass filter circuit shown in Figure, and find the expression for ω 0 .

Current ratio, Current ratio The ratio is mainly used to give an idea ...

Current ratio The ratio is mainly used to give an idea of the company's ability to pay back its short-term liabilities with its short-term assets. The higher the current ratio

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

Standard deviation of mean, For large number of measurements the mean is ca...

For large number of measurements the mean is calculated by taking a sample. Each sample that is taken has a mean. The mean of various sample difference from sample and are known to

The electrical circuit sign convention, The Electrical Circuit sign convent...

The Electrical Circuit sign convention Notice that current leaves a source at its high potential (positive) terminal but enters a load at its high potential (positive) ter

Digital electronic, how many data input and data output line for 8k 16-bits...

how many data input and data output line for 8k 16-bits?

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