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

Connection of shunt capacitors - vantage points, Connection of Shunt Capaci...

Connection of Shunt Capacitors - Vantage Points An unloaded distribution line is capacitive in character and a fully loaded line has inherent inductive and resistive features

Induced emf, applications of dynamically induced emf

applications of dynamically induced emf

Compute the kvar and the power factor of the motor, Q. A three-phase balanc...

Q. A three-phase balanced load draws 100 kW at 0.8 power factor lagging. In order to improve the supply power factor to 0.95 leading, a synchronous motor drawing 50 kWis connected

Sbi subtract immediate with borrow instruction, SBI Subtract Immediate  w...

SBI Subtract Immediate  with Borrow  Instruction This  instruction is  used to subtract 8 bit  data and  borrow from the  accumulator. The  result of  the operation is  stored

Transformes, how to calculate the sending line voltage

how to calculate the sending line voltage

Test quipment, The frequency of an oscillator may be measured by an oscillo...

The frequency of an oscillator may be measured by an oscilloscope with a callbrated time base(True/False)

Explain series circuit, Series circuit Total resistance, R T = R1 + R2...

Series circuit Total resistance, R T = R1 + R2 + R3 The current I is the same in all parts of the circuit , I = I 1 = I 2 = I 3 The voltage drop at each resistor, V1,

Controls and system, transfer function of Lube Oil Cooler Temperature

transfer function of Lube Oil Cooler Temperature

Find out the output if resistance, Q. The input to the differentiator circu...

Q. The input to the differentiator circuit is a sinusoidal voltage of peak value 5mv and frequency 1kHZ. find out the output if R=100K and C=10^-6F Solution. The equation

Explain the meaning of amplitude modulation, a. Explain the meaning of ampl...

a. Explain the meaning of amplitude modulation? Show that the AM output having two sidebands and the carrier frequency. b. Illustrate that the equivalent parallel impedance of 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