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

What is meant by a bus, A bus is a collection of conducting lines that carr...

A bus is a collection of conducting lines that carrier's data, address, & control signals. A bus is two or many wire communication technique. A bus which communicate among two

Boolean, any Boolean function can be realized using multiplexer.(true/false...

any Boolean function can be realized using multiplexer.(true/false).

Explain synchronous generators, Explain Synchronous Generators? They ca...

Explain Synchronous Generators? They can be utilized to produce or absorb reactive power. An over-excited machine produces reactive power when an under-excited machine absorbs

Power analyser, Explain frequency selective wave analyser with bandwidth

Explain frequency selective wave analyser with bandwidth

Which property of material allows it to drawn out in wires, Property of mat...

Property of material which allows it to be drawn out into wires is (A) Ductility.                                    (B) Solder ability. (C) Super conductivity.

Inference rules of explanation system, Inference Rules of Explanation syste...

Inference Rules of Explanation system How an Explanation System might work where questions like how or why are dealt with. Inference Rules use an if-statement and a then-statem

Example of binary subtraction of negative number , Example of binary subtra...

Example of binary subtraction of Negative number Case 2.   Negative number is more than  the positive number ( i e, answer  is negative)  Example : Subtract 92 10 ( 101

What is segment displays, Q. What is Segment displays? Seven-segment di...

Q. What is Segment displays? Seven-segment displays are the most commonly used numeric display devices, while 10- and 16-segment (starburst) display devices are also available.

Rftfrfr, #questionfrfrfrfr..

#questionfrfrfrfr..

Calculate the voltage regulation, The per-phase synchronous reactance of a ...

The per-phase synchronous reactance of a three-phase, wye-connected, 2.5-MVA, 6.6-kV, 60-Hz turboalternator is 10. Neglect the armature resistance and saturation. Calculate the vo

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