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

Model and simulaions, a short review article on the classification of time ...

a short review article on the classification of time frame

Draw a block diagram of a 4-bit pipo register, Q. Draw a block diagram of a...

Q. Draw a block diagram of a 4-bit PIPO register and briefly describe its operation. Q. Taking parallel data from a computer to be fed out over a single transmission line needs

Calculate the theoretical mean value for signal, In most real signal proces...

In most real signal processing applications the measured signals can not be described by an analytical expression. In addition, by the Wold decomposition theorem a stationary signa

Static scherbius drive - motor control , Static  scherbius  Drive B...

Static  scherbius  Drive By using  this scheme, below and above  synchronous speed can be obtained for an induction motor. There are  two possible  configurations to obtain  s

Matlab magnetic field, i have an assignment related to magnetic field i ha...

i have an assignment related to magnetic field i have attached the( MRI assignment sheet)[1] please read it carefully in the assignment 2 methods to get the results - one by

Chemical vapour deposition, Explain chemical vapour deposition method for t...

Explain chemical vapour deposition method for the preparation of nanomaterial and its properties

Technical losses in power systems, Technical Losses in Power Systems T...

Technical Losses in Power Systems The technical losses in power systems occur because of energy dissipated in the conductors and equipment used for transmission, transformat

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