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

Shld store hl pair direct instruction , SHLD Store HL pair Direct Instructi...

SHLD Store HL pair Direct Instruction This  instruction is used to store the contents of HL  register  pair to  memory  address specified  in the  instruction and the  next ad

What are the basic operations of a computer, What are the basic operations ...

What are the basic operations of a computer? The basic operations are READ and WRITE.

Determine collector - emitter voltage and base current, Q. A transistor is ...

Q. A transistor is connected in common emitter configuration collector supply voltage Vcc is 10 volts load resistance Rl is 800ohm,voltage drop across load resistance is 0.8v and c

Define some huntington postulates - boolean algebra, Define some Huntington...

Define some Huntington postulates - Boolean Algebra? Postulates 1. Commutative Law (a) A + B = B + A (b) A B = B A 2. Distributive Law (a) A (B + C) = A B + A

D.C. generator, I have made a wind turbine with vertical blades. I want to ...

I have made a wind turbine with vertical blades. I want to rotate magnets on the rotor with the coils being stationary.How do I wind the coils and must the magnets be N/S opposite

Describe the meaning of standing wave ratio, a. Describe the meaning of sta...

a. Describe the meaning of standing wave ratio. What is the formula for it, if the load is purely resistive? Why is a high value of SWR often undesirable? b. Determine how the c

General, a single phase 120 volts, 60hertz supply is connected to a coil of...

a single phase 120 volts, 60hertz supply is connected to a coil of 200 turns wound round a toroidal magnetic core with a mean length 100cm and cross section 20cm square &relative p

Video graphics array and colour graphics adapter, What are the differences ...

What are the differences between Colour Graphics Adapter and Video Graphics Array graphics adapters? The Colour Graphics Adapter (CGA), originally also termed as the Colour/G

What are the different types of patrolling, Q. What are the different types...

Q. What are the different types of Patrolling? When these are adopted? What are points to be considered while preparing the charts? Ans.- Types of Patrolling. 1. Keyman's

., ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

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