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

Dsp, what is circular convolution

what is circular convolution

Calculate the antenna parameters, For a helical antenna, the half-power bea...

For a helical antenna, the half-power beamwidth and directive gain are given by where C = πD, N = L/S, and S = C tan α,in which α is called the pitch angle, and The

Find the antenna temperature, Q. If an antenna has an available noise power...

Q. If an antenna has an available noise power of 1.6 × 10 -15 W in a 1-MHz bandwidth, find the antenna temperature.

Outdoor termination for cables, Outdoor Termination for Cables - Measures f...

Outdoor Termination for Cables - Measures for Improving Connection Outdoor terminations for paper insulated or PILCA cables were generally used without much of a problem. With

Schematic diagram of led based system, Q. Schematic Diagram of LED based Sy...

Q. Schematic Diagram of LED based System ? As shown in the two schematic diagrams above, the LEDs in a seven-segment display are not isolated from each other. Rather, eith

Variation of energy bands with alloy composition, Variation of Energy Bands...

Variation of Energy Bands with Alloy Composition The  band  structures  of  III-V  ternary  and  quaternary  compounds  modifies  as  their composition is varied. There

Interrupt signals - pins and signals , Interrupt Signals There are five...

Interrupt Signals There are five  interrupt  signals in 8085 microprocessor.  These  signals  are used to inter rut the  current  program  under  execution and  transfer the ex

Find the magnitude of the force, Q. A solenoid of cylindrical geometry is s...

Q. A solenoid of cylindrical geometry is shown in Figure. (a) If the exciting coil carries a steady direct current I, derive an expression for the force on the plunger. (b) F

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