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

Objectives of electricity and gas hazards, Objectives After studying th...

Objectives After studying this unit, you should be able to: 1. Describe the consequences of passing electric current through human body, 2. State and recognise the colour

Serial input output ports , Serial Input output Ports For serial  inpu...

Serial Input output Ports For serial  input  and output  there are  two pins  in 8085 microprocessor

Voltage transfer function of the high-pass filter, Determine the voltage tr...

Determine the voltage transfer function of the high-pass filter circuit shown in Figure, and find the expression for ω 0 .

Characteristics of magnetic field / flux lines, Characteristics of magnetic...

Characteristics of magnetic field / flux lines: i.  Forming a closing loop ii. Did not crossed against each other iii. Has a certain direction iv. Repel among one anot

Telephony, connection of STS MUX/DMUX

connection of STS MUX/DMUX

Mathematics, The two sides of a triangle are 17 cm and 28 cm long, and the ...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

Show the applications of a r-c coupled amplifier, Q. What are the applicati...

Q. What are the applications of a R-C coupled amplifier. The R-C coupled amplifiers have excellent audio fidelity over a wide range of frequency. Therefore, they are widely use

Determine the voltage at the load terminals, Two single-phase 60-Hz sinusoi...

Two single-phase 60-Hz sinusoidal-source generators (with negligible internal impedances) are supplying to a common load of 10 kW at 0.8 power factor lagging. The impedance of the

Fixed bias with emitter resistor, Fixed bias with emitter resistor: ...

Fixed bias with emitter resistor: Figure: Fixed bias with emitter resistor The fixed bias circuit is changed through attaching an external resistor to the emitter

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