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

Why 8085 processor is called an 8 bit processor, 8085 processor has 8 bit A...

8085 processor has 8 bit ALU (Arithmetic Logic Review). Likewise 8086 processor has 16 bit ALU.

Analog averaging system, Consider the analog averager where x(t) is the inp...

Consider the analog averager where x(t) is the input and y(t) is the output. (a)   Find the impulse response h(t) of the average.  Is this system causal? (b)   Let x(t)

Ratio, how do ratos connect to engineering

how do ratos connect to engineering

Circuit of a common drain fet amplifier and explain, Q. Draw the circuit of...

Q. Draw the circuit of a common drain FET amplifier and explain. FET amplifier circuit The weak signal is applied between gate and source and amplified output is obtained

Illustrate common emitter configuration, Illustrate Common Emitter configur...

Illustrate Common Emitter configuration, current amplification factor and collector amplifier. Describe transistor as an amplifier.

Cross-subsidy and multi-year tariff - electricity policies, Cross-subsidy:...

Cross-subsidy: The policy gives clarity on determination of cross-subsidy and additional surcharges for open access to consumers and lays down a timeframe for rationalization

Show frequency response using pspice and probe, Q. Show Frequency response ...

Q. Show Frequency response using pspice and probe? PSpice is capable of performing transient circuit analysis, for which the request is given by the following statement: • T

Charge carriers in semiconductors, Charge Carriers in Semiconductors ...

Charge Carriers in Semiconductors In a metal, the atoms are imbedded in a "sea" of free electrons, and these electrons can move as a group under the influence of an

Explain thevenin''s theorem procedure, Thevenin's theorem procedure:   1. ...

Thevenin's theorem procedure:   1.  Open circuit R L and find Thevenin's voltage (V TH ). 2.  Find Thevenin's resistance (R TH ) when voltage source is short circuit or curren

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