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 plastics, What are plastics? Plastics are materials (containi...

What are plastics? Plastics are materials (containing carbon as common element) that have organic substances of high molecular weight and are able of being formed in required

Find the open-circuit voltage amplification of the circuit, (a) Figure show...

(a) Figure shows a circuit containing an amplifier block. Find the open-circuit voltage amplification of the circuit. (b) Let the output terminals be connected to a load resista

DLD, DESIGN SR LATCH WITH UNIVARSAL LOGIC GATES.DRAW AND EXPLAIN THE LOGIC ...

DESIGN SR LATCH WITH UNIVARSAL LOGIC GATES.DRAW AND EXPLAIN THE LOGIC DIAGRAMS

moving average model, Altavox is a manufacturer and distributor of a lot o...

Altavox is a manufacturer and distributor of a lot of electronic instruments and devices, including digital/analog multimeters, function generators, oscilloscopes, frequency counte

Test equipment , What is the function of the time-base generator as used in...

What is the function of the time-base generator as used in an oscilloscope

Explain imul instructions in 8086 family, Explain IMUL instructions in 80...

Explain IMUL instructions in 8086 family with example and their effect on flag. IMUL: It is an instruction for multiplication of two signed numbers. This result is a signed

Find the effective area of a half-wave dipole, Q. The effective area of a d...

Q. The effective area of a dipole is given by A e =0.13λ 2 . Find the effective area of a half-wave dipole at 3 GHz.

Determine average of integers by assembly language program, Write an assemb...

Write an assembly language program to determine average of 'n' integers. Ans  MOV AX, 0000; Initial sum 0000  MOV BX, 0000  MOV SI, 0201H  MOV CX, [SI]  BACK: I

Explain the working principle of an opto coupler, Q. Explain the working pr...

Q. Explain the working principle of an opto coupler? When it is necessary to block the voltage between one electronic circuit and another, and transfer the signal at the same 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