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

Circuit 1, draw a graph of V=IR for R=300ohms over the domain -3mA

draw a graph of V=IR for R=300ohms over the domain -3mA

Thevenins theorem, How to solve questions on thevenin theorem

How to solve questions on thevenin theorem

Power plant, A power company is developing an upgrade to an existing power ...

A power company is developing an upgrade to an existing power plant and needs to make a requirements decision with respect to the maximum power output capacity for the upgrade. Thi

Can you explain noninverting amplifier, Q. Can you explain Noninverting Amp...

Q. Can you explain Noninverting Amplifier? It is called "noninverting" because there is no sign inversion. A typical circuit is shown in Figure. With a finite op-amp gain Ao,

Basic structure of an scr and the common circuit symbol, Q. Draw the basic ...

Q. Draw the basic structure of an SCR and the common circuit symbol ? The SILICON CONTROLLED RECTIFIER, usually referred to as an SCR, is one of the families of semiconductors

Compute the total capacitance with parallel connection, Compute the total c...

Compute the total capacitance with parallel connection: Three capacitors C 1 , C 2 and C 3 contain capacitance 20 μf, 15 μf, 30 μf, respectively. compute: 1. Charge on ea

Solar energy, project for solar panel for farms in Saudi Arabia

project for solar panel for farms in Saudi Arabia

Determine the resulting waveform, Two pure sine waves have similar amplitud...

Two pure sine waves have similar amplitude "A" and frequency "f." They are out of phase through 180 degrees. If these two signals are added, the resulting waveform will be:

What is the clock frequency of 8086, What is the clock frequency of 8086? ...

What is the clock frequency of 8086? Internal clock Frequency 5 MHz 8MHz  External Clock Frequency 15MHZ 24MHZ

Determine the base current, Q. A transistor has a base current i B = 25 µA...

Q. A transistor has a base current i B = 25 µA, α = 0.985, and negligible ICBO. Find β, iE, and i .

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