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

Transients in r-l-c circuits, Transients in R-L-C circuits: Scenario ...

Transients in R-L-C circuits: Scenario The Laplace transform is a valuable mathematical tool which allows the solution of difficult differential equations to be easily de

Determine the circuit of three transistors dynamic ram cell, a. Determine t...

a. Determine the circuit of three transistors dynamic RAM cell and define briefly read and write functions. b. Write short note on factors influencing choice of layer for wiring

Vehicle tracking system, coding for vehicle tracking system using gsm in av...

coding for vehicle tracking system using gsm in avr atmega16 microcontroller

Ohm, what is ohm?

what is ohm?

Illustrate about full duplex transmission, Q. Illustrate about Full Duplex ...

Q. Illustrate about Full Duplex Transmission? Full Duplex Transmission Data can travel in both directions simultaneously. There is no need to switch from transmit to receive

Service standards and agricultural users, Service standards: The forum...

Service standards: The forum of regulators (constituted through the central government for consistency in regulation in the area of distribution) will decide the basic framewo

Mode 1 - buck converter , Mode 1 ( 0 By  applying a positive  output ...

Mode 1 ( 0 By  applying a positive  output  pulse  of the pulse  width modulator to  the  transistor Q 1 it gets turned on.  An input  current  in flows  through V in   Q 1

Shunt reactor, what are the basic principles of shunt reactor and it''s ope...

what are the basic principles of shunt reactor and it''s operation system

Types of meter test, Types of Meter Test A meter should pass the subse...

Types of Meter Test A meter should pass the subsequent two types of tests: Type Tests Routine Tests Meters are calibrated such in which the whole

A 450 ns eprom won''t work directly with a 5mhz 8088, A 450 ns EPROM won't ...

A 450 ns EPROM won't work directly with a 5MHz 8088.Why? Explain. While the 8088 is operated along with a 5 MHz clock, it permits 460 ns for the memory to access data. Due to t

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