Find 2s complement of 8-bit no. by assembly language program, Electrical Engineering

Assignment Help:

Write an assembly language program to determine one's complement and two's complement of an 8-bit number.

Ans

One's complement of an 8-bit number

LDA 2501H

CMA

STA 2502H

 HLT.

Two's complement of an 8-bit number

LDA 2501H

CMA

INR A

STA 2502H

HLT.


Related Discussions:- Find 2s complement of 8-bit no. by assembly language program

Determine l and c of the band pass filter circuit, Q. Determine L and C of ...

Q. Determine L and C of the band pass filter circuit of Figure to have a center frequency of 1 MHz and a bandwidth of 10 kHz. Also find the Q of the filter.

Show the conditions necessary for sustained oscillation, The conditions nec...

The conditions necessary for sustained oscillation can be summarized as follows: 1. There should be a positive feedback. 2. The loop gain of the circuit must be equal to or g

Determine the steady state position error, Figure shows the block diagram o...

Figure shows the block diagram of an aircraft pitch stabilization system which uses position, velocity and acceleration feedback. i) Show that for a unit step input the steady s

Utilization of electrical energy, Ask question #Discuss the role of load fa...

Ask question #Discuss the role of load factor on the cost of electrical energy 100 words accepted#

Explain frequency response curve of a rc coupled amplifier, Q. Explain the...

Q. Explain the frequency response curve of a  RC coupled amplifier The frequency response curve of a typical RC coupled Amplifier is shown below: In mid frequency range

Analog & Digital Filtering, 1) Assume that we are given the continuous-time...

1) Assume that we are given the continuous-time signal xa (t) = xa1 (t) + xa2 (t) + xa3 (t), where, xa1 (t) = 2 + cos3 (2pf1 t + p 3 ) + 2 cos(2pf2 t), xa2 (t) = 2 cos(2pf3 t)

Can you explain working principle of tl - ac alternator, Can you explain wo...

Can you explain working principle of TL/AC alternator? Ans . The core of the stator which is completely induced by the field coils, will get a residual magnetism if excited b

Working of analog to digital converter, a) Write down a short note on compe...

a) Write down a short note on compensators. b) Classify filter with relevant sketches. c) Illustrate the principle and working of Analog to Digital converter.

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