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

Show twos complement multiplication, 2's Complement Multiplication Two'...

2's Complement Multiplication Two's complement multiplication follows the similar rules as binary multiplication. For illustration, (-4) × 4 = (-16)              1111

Explain load flow analysis, Explain Load Flow Analysis The method commo...

Explain Load Flow Analysis The method commonly used for load flow analysis is the nodal analysis. The nodal analysis method is given in many books on circuit theory and is base

Show step-motor control system, Q. Show Step-motor control system? Figu...

Q. Show Step-motor control system? Figure illustrates a system in which the prime mover used in the disk-drive system is a step motor driven by pulse commands. In response to e

transmisson medium, Can I find out the salution of electrods Transmissio...

Can I find out the salution of electrods Transmission medium light sound uncoupling magnet for high dc cycle.

Explain practical digital to analog converters, Explain Practical Digital t...

Explain Practical Digital to Analog Converters? In several DSP applications, we must reconstruct an analog signal after the digital processing stage. This is completed using a

Voltage breakdown Diode, Help me, i need some answer regarding Voltage brea...

Help me, i need some answer regarding Voltage breakdown. What formula do I use?

What are the important requirements of a insulating material, What are the ...

What are the important requirements of a good insulating material? Important requirements of good insulating materials:- The necessity of good insulating materials can be cl

Illustrate the simplex transmission, Q. Illustrate the Simplex Transmission...

Q. Illustrate the Simplex Transmission? Simplex Transmission Data in a simplex channel is always one way. Simplex channels aren't often used as it is not possible to send ba

Explain current-to-voltage amplifier, Q. Explain Current-to-Voltage Amplifi...

Q. Explain Current-to-Voltage Amplifier? The basic circuit is shown in Figure, which is similar to that of an inverting amplifier. The - input is connected directly to a curren

Compute the minimum line current for the motor, A three-phase, wye-connecte...

A three-phase, wye-connected, four-pole, 400- V, 60-Hz, 15-hp synchronous motor has a synchronous reactance of 3  per phase and negligible armature resistance. The data for its no

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