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

Return instructions , Return Instructions These instruction  are used ...

Return Instructions These instruction  are used to transfer the program sequence from subroutine to the  calling program. Basically  it restores the  previous  contents  of th

Crossmagnetisation, what is crossmagnetisation in dc generator

what is crossmagnetisation in dc generator

Second generation 1954- 1964- history of computer , Second Generation ( 195...

Second Generation ( 1954- 1964) After the invention of semiconductor devices mainly transistors size of computer s was reduced a lot computing power increased reliability was

Simulink, I need help in Simulink model (.mdl) (discrete) for the topic “se...

I need help in Simulink model (.mdl) (discrete) for the topic “sensorless control of the pmsm using Back EMF method” with detailed explanation of the estimator (Back EMF method).

Bcd to excess 3 code converter, What are the industrial applications of the...

What are the industrial applications of the project bcd to excess 3 code converter?

Low-pass electronic filter, Low-pass electronic filter: The capacitors...

Low-pass electronic filter: The capacitors and inductors are the reactive elements of the filter. The number of elements ascertains the order of the filter. In this situation,

Energy, Explain different stage in energy audit?

Explain different stage in energy audit?

Find the sending end voltage and sending end current, A 3-phase transmissio...

A 3-phase transmission line is 200km long. The line has a per phase series impedance of 0.25+j0.45 Ω/km and shunt admittance of j7.2 μS/km. The line delivers 250MVA, at 0.6 lagging

High-pass t filters, High-pass T filters: Three-element filters can co...

High-pass T filters: Three-element filters can comprise a 'T' or 'π' topology and in either geometries, a low-pass, band-pass, high-pass, or band-stop characteristic is feasib

Illustrate the experts model of GPS system, Illustrate the experts model of...

Illustrate the experts model of GPS System A fundamental expert system is made up of the below elements: Setting up an Expert System -  Information is collected

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