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

Dielectric heating - stepper motor , Dielectric Heating Dielectric  l...

Dielectric Heating Dielectric  losses  occur in  insulating materials. These are same  as hysteresis losses  in magnetic materials. When  an alternating  electric  field  is a

Obtain an expression for b, Q. Consider an infinitely long, straight wire (...

Q. Consider an infinitely long, straight wire (in free space) situated along the z-axis and carrying current of I A in the positive z-direction. Obtain an expression for ¯B everywh

Electrical fundamentals, Electrical Fundamentals 1. An aircraft compan...

Electrical Fundamentals 1. An aircraft company has decided to replace the copper cables to the main aircraft generators onboard it's Boeing 747s with aluminium cables that are

Advance manufacturing technologies.., what are theold and new technologies ...

what are theold and new technologies of manufaturing of the harvestor. atleast of five components

Transistors, what is transistor how it works?

what is transistor how it works?

Elucidate the process of inter-register signalling, Q. Elucidate the proces...

Q. Elucidate the process of inter-register signalling. Ans: Registers are used in common control exchanges to store as well as analyze routing data. They are provided on a

Ins increment register pair instruction , INS  Increment Register Pair Ins...

INS  Increment Register Pair Instruction Contents of the registers pair R P will be  incremented by one  and the  result  will be stored  in the  same  register pair. It is

Determine the percentage ripple voltage, Problem (a) Figure gives the ...

Problem (a) Figure gives the basic circuit of the diode limiter. Assuming that the diodes are ideal sketch and annotate the waveforms of the input voltage vi(t) and the load

Give the applications of pvc, Give the applications of PVC. PVC- It is...

Give the applications of PVC. PVC- It is acquired from polymerisation of hydrogen chloride and acetylene in the presence of a catalyst as peroxides at about 50 0 C. It is e

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