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

What is current gain in rc coupled amplifier, Q. What is current gain  in R...

Q. What is current gain  in RC coupled amplifier? Current gain is the ratio of the output current to the input current. we represent it as A i . A i =I o /I s it can

3 phase 4 wire meters, 3 Phase 4 Wire Meters 3-phase 4 wire meters (10...

3 Phase 4 Wire Meters 3-phase 4 wire meters (10/20, 20/50 A) are used for agricultural and industrial consumers. For loads up to 50 A, the meters are directly linked to the su

What do you mean by star topology, Q. What do you mean by Star Topology? ...

Q. What do you mean by Star Topology? Star Topology: In Star topology, all user nodes are connected to central node point that interconnects all individual users' links and nod

Op code format , Op code Format As we  have seen  in the  section that...

Op code Format As we  have seen  in the  section that  the first  byte of all the instruction is the  op code. microprocessors  reads this  op code  and decodes it  to identif

Draw and explain a monostable multivibrator, Q. Draw and explain a monostab...

Q. Draw and explain a monostable multivibrator ? The monostable configuration consists of two amplifier stages interconnected in such a manner as to possess one stable state. T

Potentiometric type dvm, Potentiometric type DVM: A potentiometric type of...

Potentiometric type DVM: A potentiometric type of DVM, employs voltage comparison technique. In this DVM the unknown Voltage is compared with a reference voltage value is fixed by

BASIC ELECTRICLE, kindly tell me which text book is usefull forlearn the ba...

kindly tell me which text book is usefull forlearn the basic electricle.

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