Program description , Electrical Engineering

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.

Posted Date: 4/5/2013 1:22:36 AM | Location : United States







Related Discussions:- Program description , Assignment Help, Ask Question on Program description , Get Answer, Expert's Help, Program description Discussions

Write discussion on Program description
Your posts are moderated
Related Questions
following on from the first tma in this module, produce a design report for one design of the product based on one of the scenarios covered on the following pages.

is armature reaction good or bad for dc generator?

left child right sibling datd

For Carry Flag  RC (Return of Carry) and RNC ( Return on no Carry) Instruction RC returns from  the subroutine  to the calling  program if carry  flag is et (CY= 1). The

Operation of MOSFET The operation of a metal-oxide-semiconductor field-effect transistor which is abbreviated as MOSFET can be separated into three modes, depending upon the

Q. With the help of the structures explain LCD. A liquid crystal display (LCD) is a thin, flat display device made up of any number of color or monochrome pixels arrayed in fro

What are the causes of sparking in the commutator? Explain the methods to reduce the sparking in the commutator?

Q. What is Digital system components? The reason that digital systems are so inexpensive and yet so powerful is that they consist of very  large numbers of just a few building

Q. The full-wave rectified waveform, approximated by the first three terms of its Fourier series, is given by v (ωt) = V m sin (ωt/2), for 0 ≤ ωt ≤ 2π, and where V m = 100

1- phase  Full Bridge Inverter with R- Load 1-phase full  bridge inverter with resistive load R i it has  advantage over 1-? half  bridge  inverter that it does  not require