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

Sinusoidal expression for the current, The voltage across a 1 - μF capaci...

The voltage across a 1 - μF capacitor is given. Which is the sinusoidal expression for the current? a) 30 sin200t b) 70cos (800t - 20°) At what frequency will the re

Explain the excess three codes - bcd to decimal conversion, Explain the Exc...

Explain the Excess three codes - BCD to Decimal Conversion The Excess-3 representation of a number is based on Binary Coded Decimal. It is formed by taking the number in Binary

Project, electrical project produse eneargy desingn

electrical project produse eneargy desingn

Ac circuits, AC Circuit: This topic explain the basic concepts of sing...

AC Circuit: This topic explain the basic concepts of single and three-phase ac system. Unit provides the thorough analysis and derivations as required by topics. Here we find

Calculate reactive power to be delivered by the capacitor, A single-phase s...

A single-phase source delivers 100 kW to a load operating at 0.8 lagging power factor. In order to improve the system's efficiency, power factor improvement (correction) is achieve

Explain noise, Explain Noise Noise is unwanted signals which degrade t...

Explain Noise Noise is unwanted signals which degrade the desired signal content and therefore the performance of the system. Noise might be produced either externally or inte

Engineer, Transmission Through a LiNb0 3 Plate Examine the transmission of...

Transmission Through a LiNb0 3 Plate Examine the transmission of an unpolarized He-Ne laser beam (?o= 633 nm) normally incident on a LiNb0 3 plate (ne = 2.29, no = 2.20) of thickn

Explain pulse-code modulation, Q. Explain Pulse-Code Modulation? PCM is...

Q. Explain Pulse-Code Modulation? PCM is the simplest and oldest waveform coding scheme for processing an analog signal by sampling, quantizing, and binary encoding. Figure sho

Explain immediate data addressing mode, Explain immediate data addressing m...

Explain immediate data addressing mode (with examples) available in microprocessors. Immediate Mode: The operand given in immediate mode is the actual data itself.

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

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