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

Can you explain about multiple poles, Q. Can you explain about Multiple Pol...

Q. Can you explain about Multiple Poles? Let us consider that F 1 (s) has all simple poles except, say, at s = p 1 which has a multiplicity m. Then one can write When

Calculate the new rotor current frequency, Induction motors are often brake...

Induction motors are often braked rapidly by a technique known as plugging, which is the reversal of the phase sequence of the voltage supplying the motor. Assume that a motor with

What are hard magnetic materials, What are hard magnetic materials? Har...

What are hard magnetic materials? Hard Magnetic materials- They have a slowly rising magnetization curve along with large hysteresis loop area and therefore large energy losses

State the drawbacks of in band and out band voice signalling, a. Enlist the...

a. Enlist the benefits and drawbacks of in band and out band voice signalling? b. Describe Channel Associated mode, Channel Non-Associated mode and QuasiAssociated mode of commo

Describe about absolute poverty, Q. Describe about Absolute Poverty? Po...

Q. Describe about Absolute Poverty? Poverty defined with respect to an absolute material standard of living. A person is absolutely poor if their income does not allow them to

Boolean functions by employing 8-to-1multiplexers, Q. Implement the followi...

Q. Implement the following Boolean functions by employing 8-to-1multiplexers. (a) F 1 (A,B,C) = Σ m i (0, 2, 4, 6) (b) F 2 (A,B,C) = Σ m i (1, 3, 7)

Determine the percent voltage regulation of the transformer, The transforme...

The transformer of Example is supplying full load (i.e., rated load of 50 kVA) at a rated secondary voltage of 240 V and 0.8 power factor lagging. Neglecting the exciting current o

Determine frequencies that is in the spectrum analyze, Two sine waves along...

Two sine waves along with periods of 10 ms and 30 ms are added to generate a single waveform. A spectrum analyzer is utilized to examine the frequency contents of the waveform. Wha

Physics, find the resultant of two forces 20N and25N acting at an angle 60...

find the resultant of two forces 20N and25N acting at an angle 60 degree each other

The resistance of an electrical conductor, The resistance of an electrical ...

The resistance of an electrical conductor depends on 4 factors, these being:   a)  The length of the conductor   b)  The cross-sectional area of the conductor

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