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

What are shift register counters, What are Shift Register Counters? Two...

What are Shift Register Counters? Two of the main common types of shift register counters are the Ring counter and the Johnson counter and They are basically shift registers wi

Define the software defined radio, Software Defined Radio (SDR) is an advan...

Software Defined Radio (SDR) is an advanced radio technology in which flexibility is achieved in using radio functions such as modulation and demodulation of radio signals are carr

Physics, high resistivity materials

high resistivity materials

Construction and operation of enhancement mosfet, Q. Explain the constructi...

Q. Explain the construction and operation of Enhancement MOSFET? The construction of an N-channel enhancement MOSFET is shown in figure below. Two highly doped N + regions are

Express the storedmagnetic energ, A relay is essentially an electromechanic...

A relay is essentially an electromechanical switch that opens and closes electrical contacts. A simplified relay is represented in Figure. It is required to keep the fenomagnetic p

Arithmetic operations, Arithmetic Operations Various  types of arithmet...

Arithmetic Operations Various  types of arithmetic  operations like addition subtraction increment and  decrement  are performed in 8085 microprocessor. Generally in these  ope

Electricity and gas hazards, Electricity beyond doubt is very useful and es...

Electricity beyond doubt is very useful and essential for us; but if dealt with carelessly, it can prove to be very fatal. It is compulsory for a laboratory assistant to be sure of

Determine the admittance of the parallel combination, Q. The voltage across...

Q. The voltage across a parallel combination of a 100- resistor and a 0.1-µF capacitor is 10 cos(5000t +30°) V. Determine the admittance of the parallel combination and find the c

Compute the starting torque with the starting compen sator, A three-phase, ...

A three-phase, 2200-V, 60-Hz, delta-connected, squirrel-cage induction motor, when started at full rated voltage, takes a starting current of 693 A from the line and develops a sta

Transformer onnection, what is difference between scot and delta connection...

what is difference between scot and delta connection.

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