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

Single phase meters, Single Phase Meters Single phase meters are commo...

Single Phase Meters Single phase meters are commonly rated for 240 V AC supply; the current ratings are 5/10, 10/20, 2.5/10 or 5/20 A or are for direct connection to the mains

Butterworth filter, what is experimental setup for Butterworth filter?

what is experimental setup for Butterworth filter?

Node-voltage method to find the current, Q. Use the node-voltage method to ...

Q. Use the node-voltage method to find the current I through the 5- resistor of the circuit of Figure.

Explain about half duplex transmission, Q. Explain about Half Duplex Transm...

Q. Explain about Half Duplex Transmission? Half Duplex Transmission A half-duplex channel can receive andsend, though not at the same instance. It's like a one-lane bridge w

What are the main embedded system components, What are the main embedded sy...

What are the main embedded system components? Main Embedded System Components a. Embeds hardware to provide computer as functionalities b. Embeds major application softw

Explain working of resistance-capacitance coupled amplifiers, Q. Explain wo...

Q. Explain working of Resistance-capacitance coupled Amplifiers? Resistance-capacitance (RC)-coupled  Amplifiers : The following figure illustrates the most widely used method

Accelerator and investment, Q. Accelerator and Investment? Accelerator,...

Q. Accelerator and Investment? Accelerator, Investment: Investment spending stimulates economic growth that consecutively stimulates further investment spending (as businesses

Level4, What are the three modes of operation of rotating machines

What are the three modes of operation of rotating machines

Advantages of the n-channel mosfet over the p-channel, Q. What are the adva...

Q. What are the advantages of the n-channel MOSFET over the p-channel? The main advantage of the n-channel MOSFET over the p-channel is due to the fact that charge carriers in

What do you mean by signal processing, Q. What do you mean by Signal Proces...

Q. What do you mean by Signal Processing? The essential feature of communication, control, computation, and instrumentation systems is the processing of information. Because of

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