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

Trends, what is south africas perspective?

what is south africas perspective?

Find the mmf needed to establish a magnetic flux, Q. Consider the toroid sh...

Q. Consider the toroid shown in figure made up of three ferromagnetic materials. Material a is nickel-iron alloy having a mean arc length la of 0.6 m; material b is medium silicon

Different type of errors that occur during data transmission, Data Communic...

Data Communication 1. Write short notes on: a. Sky wave propagation b. Line of sight propagation 2. List and describe the different types of errors that occur during dat

Determine the electromagnetic power, A dc shunt motor runs off a constant 2...

A dc shunt motor runs off a constant 200-V supply. The armaturewinding resistance is 0.4, and the ?eld winding resistance is 100 . When the motor develops rated torque, it draws

Develop and execute a pspice program, Develop and execute a PSpice program ...

Develop and execute a PSpice program to solve for the current I 2 in Figure.

Connection of shunt capacitors at 11 kv substation, Connection of Shunt Cap...

Connection of Shunt Capacitors at 11 kV Substations 11 kV automatic switched capacitor banks are installed on bus of 33 or 66 kV substations. This has the facility that the re

Draw and explain the r-2r ladder dac, Question 01 Convert the following bi...

Question 01 Convert the following binary numbers to its specified number system 111.101 (2) to octal 10111 (2) to decimal 0.1010 (2) to hexadecimal 1011.11 (2)

Find the open-circuit voltage amplification of the circuit, (a) Figure show...

(a) Figure shows a circuit containing an amplifier block. Find the open-circuit voltage amplification of the circuit. (b) Let the output terminals be connected to a load resista

Telecommunication principles, Draw the block diagram of TDM-PCM system. Exp...

Draw the block diagram of TDM-PCM system. Explain each block. Calculate the bit rate at the output of this system

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