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

Consider circuit to obtain complete solution for the voltage, Consider the ...

Consider the circuit of Figure (a) and obtain the complete solution for the voltage v C (t) across the 5-F capacitor and the voltage v x (t) across the 5- resistor.

Bjt amplifiers, Explain the working of BJT Amplifiers? The purpose of e...

Explain the working of BJT Amplifiers? The purpose of electronic amplifiers is essentially to increase the amplitude and power of a signal so that either useful work is done or

Identify the key cultural dimensions, This assessment requires you to refle...

This assessment requires you to reflect on an intercultural communication event that you have experienced between yourself and an Australian. a)  Describe the event without eval

amplitude modulated waveform, The method by which electrical signals conve...

The method by which electrical signals convey information has been described. Systems components have been selected and interfaced to enable a chosen system to perform a desired o

Moving coil transducers, Note transducers  convert a physical quantity from...

Note transducers  convert a physical quantity from one  form to another.  The case below illustrates a typical moving coil meter   that   converts   a   current into a mechanical a

What do you mean by time consistent busy hour, Q. What do you mean by Time ...

Q. What do you mean by Time consistent Busy Hour? (i) Busy Hour (ii) Peak Busy Hour (iv) Time consistent Busy Hour  (v) Traffic intensity Ans: (i)  Busy Hour: C

Half-wave rectifier, Half-wave rectifier: A half-wave rectifier will j...

Half-wave rectifier: A half-wave rectifier will just only give one peak per cycle and for this reason and other reasons is only employed in extremely small power supplies. A f

Can you explain honorarium?, Can you explain Honorarium? Ans: Honora...

Can you explain Honorarium? Ans: Honorarium is a remuneration for work performed which is intermittent or occasional in character and either so laborious or of such special

Evaluate currents in the circuits, Evaluate currents in the circuits: ...

Evaluate currents in the circuits: Determine currents I 1 and I 2 in the given circuits by applying KVL. Solution We apply KVL for first loop : 10 = 1 I 1   + 1 (

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