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

Explain cascading of multiple pics 8259, Explain cascading of multiple PICS...

Explain cascading of multiple PICS 8259.  The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. It can be expanded to 64 interrupt requests by using one

Explain steady-state stability, Q. Explain Steady-State Stability? The ...

Q. Explain Steady-State Stability? The property of a power system that ensures that it will remain in equilibrium under both normal and abnormal conditions is known as power-sy

Determine the value of the load resistance, Q. A60-Hz, 100-kVA, 2400/240-V(...

Q. A60-Hz, 100-kVA, 2400/240-V(rms) transformer is used as a step-down transformer from a transmission line to a distribution system. Consider the transformer to be ideal. (a) F

Electronics, why bypass capacitor is used

why bypass capacitor is used

Calculate the monthly electric bill, Calculate the monthly electric bill fo...

Calculate the monthly electric bill for TESTU.  Metering is as follows: B 00,000 kWHr C 00,000   kVARHr D 0,000        kW  peak demand Facilities Charge = $500

What are the major systems of a telecommunication network, Q. What do you u...

Q. What do you understand by major systems of a telecommunication network? Explain in detail the subscriber loop systems. Ans: Major systems of any telecommunication netw

Explain rotameter and hot wire anemometer, Write down about the following t...

Write down about the following terms: (i) Pirani Gauge (ii) Rotameter (iii) Hot wire Anemometer (iv) Drag Force Flow Meter

Determine the parameters of the double- revolving-field, Q. The no-load and...

Q. The no-load and blocked-rotor tests conducted on a 110-V, single-phase induction motor yield the following data: • No-load test: input voltage 110 V, input current 3.7 A, and

Define amplification factor and drain resistance, Q. Define amplification f...

Q. Define amplification factor, drain resistance and transconductance and derive the relationship between drain resistance and trans conductance? Drain resistance It is the

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