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

Expain different control function categories, Q. Expain different control f...

Q. Expain different control function categories,And also discuss that how they help in signalling and control. Ans: In some switching systems, Control subsystem may be a

Phase lead controller design and digital implementation, The arm of a hydra...

The arm of a hydraulic robot is controlled as shown in the block diagram below: The arm dynamics are represented by: Dynamic specification for the arm requires:

What is the maximum entrance angle max, Calculate the N.A of a step index f...

Calculate the N.A of a step index fibre having n 1 =1.48 and n 2 =1.46. What is the maximum entrance angle ψ max for this fibre if the outer medium is air with n 1 =1.0? Given

Error in simulink, dear sir, when i am going to simulate my model in matlab...

dear sir, when i am going to simulate my model in matlab i am getting the following error : the derived input for the integrator is inf or nan at time xxxxx. try to reduce the step

Chemistry, what is the definition of laws of chemical combination ?

what is the definition of laws of chemical combination ?

Microcontroller - introduction to microprocessors , Microcontroller Mic...

Microcontroller Microcontroller  is also known  as computer  on a chip  this  includes basic  features of microprocessor (ALU Registers  and control circuits ) with  1 k to 2k

Nis sound systems, NIS Sound Systems, Inc. produces and sells sound systems...

NIS Sound Systems, Inc. produces and sells sound systems for both home and auto. DVD players used in the assembly of NIS systems are purchased from BUN Electronics. NIS purchasing

Explain about communication systems, Q. Explain about Communication Systems...

Q. Explain about Communication Systems? Even though most modern communication systems have only been invented and developed during the eighteenth and nineteenth centuries, it i

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