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

Digital system, 1- Use 4-to-16 decoder and some residue gates to recognize ...

1- Use 4-to-16 decoder and some residue gates to recognize the following functions F1(A,B,C)= S(1,2,4,5,7) F2(A,B,C,D)= S(1,2,4,5,7,10,12,14,15) F3(A,B,C,D,E)= S(1,2,4,5,7,10,12,1

Comparison with vacuum tubes, Comparison with vacuum tubes: Prior to t...

Comparison with vacuum tubes: Prior to the growth of transistors, vacuum (electron) tubes (or in the UK (United Kingdom) "thermionic valves" or just "valves") were the major a

Transformer, residual voltage in potential transformer

residual voltage in potential transformer

Statics, a mass of 20 kg is lifted u p to the roof of a cliff 100 m high.de...

a mass of 20 kg is lifted u p to the roof of a cliff 100 m high.determie Ep of the mass while it is at the top

Working of bootstrap sweep circuit, analysis and detail working of bootstra...

analysis and detail working of bootstrap sweep circuit

determine the minimum dandwidth of the system - fsk and ask, 1. Data is to...

1. Data is to be transmitted using a modem at 9600 bps. Determine the minimum bandwidth of the system with the following modulation methods (a) FSK (b) ASK. Use the excess

Electron, Electron congratulations

Electron congratulations

Explain rotameter and hot wire anemometer, Write down about the following t...

Write down about the following terms: (i) Pirani Gauge (ii) Rotameter (iii) Hot wire Anemometer (iv) Drag Force Flow Meter

Case 1 b>a - program description , Case 1 (B>A) Suppose XX = 01H ( s...

Case 1 (B>A) Suppose XX = 01H ( stored in a) and YY = 03H (stored  in B).then carry flag  will set by  CMP  instruction since B>A  in this case JNC  will not  transfer the e

Give a short description of soft ferrites, Give a short description of soft...

Give a short description of soft ferrites . Soft ferrites and their applications: all non- metallic compounds are consisting of ferric oxide and one or two bivalent metal oxid

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