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

Realize the function f by a k map using 0s, Q. Given the following truth ta...

Q. Given the following truth table: (a) Realize the function f by a K map using 0s. (b) Realize the function f by a K map using 1s.

Electrical, do you have a place where I can draw the equation out ?

do you have a place where I can draw the equation out ?

Discrete time system transfer function, For a discrete time unit step input...

For a discrete time unit step input x(kT), the output  y(kT) of a system is shown below,   Part (a)  Obtain the Z-transform of the output signal y(kT).   Part (b)   F

Level4, What are the three modes of operation of rotating machines

What are the three modes of operation of rotating machines

Plagiarised Content, Your site is full of plagiarised content even though y...

Your site is full of plagiarised content even though you claim to be and I quote "Plagiarism Free". You should not be charging for this content, the site and service is a fraud.

Determine the current in the series circuit, Q. (a) Let a unit impulse of v...

Q. (a) Let a unit impulse of voltage v(t) = δ(t) be applied to a series combination of R = 20 and L = 10 mH. Determine the current i(t)in the series circuit. (b) Repeat (a) for

Programming, ELEC 132 COURSEWORK – ADC This work will be assessed based...

ELEC 132 COURSEWORK – ADC This work will be assessed based on program demonstration (during lab sessions) and design. You will also have to submit your c-source codes as word o

add instruction, ADD Instruction This  instruction use to add  content...

ADD Instruction This  instruction use to add  contents of any  register or memory  location with the  contents of accumulator. There are two  formats for ADD  instruction to ad

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