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

Static or electronic energy meters, Static or Electronic Energy Meters ...

Static or Electronic Energy Meters Electronic energy meters are replacing traditional electromechanical meters in several residential, commercial and industrial applications s

Fulfilled to sustain the oscillations, Q. What are the conditions required ...

Q. What are the conditions required to be fulfilled to sustain the oscillations? The conditions required to be fulfilled to sustain the oscillations are: 1. The loop gain mu

Which realization requires the least number of gates, Q. Consider a 1-bit v...

Q. Consider a 1-bit version of the digital comparator shown in Figure. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude compar

Weins bridge oscillator, please give me the ckt for wein bridge oscillator ...

please give me the ckt for wein bridge oscillator with 5KHz frequency using transister (with exact values of resistor and capacitor).

Show the output voltage waveform, Question: a) For the circuits shown i...

Question: a) For the circuits shown in figure a and in figure b, show the output voltage waveform V0(t) if a sinusoidal signal with peak value of 5V is applied and the dc suppl

Power system, a rectangular surge of 2us duration and magnitude of 100Kv tr...

a rectangular surge of 2us duration and magnitude of 100Kv travels along a line of surge impedance 500 ohms. The latter is connected to another line of equal impedance through an i

Embedded systems design, You have been requested by your Senior Engineer to...

You have been requested by your Senior Engineer to design a lift control unit (LCU) and prepare a report detailing your proposed solution. The client requires a microcontroller bas

Calculate the small signal voltage gain, Calculate the Small Signal Voltage...

Calculate the Small Signal Voltage Gain a) Calculate the small signal voltage gain a v = v o /v i , input resistance R i , and output resistance Ro for the circuit below. A

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