Find 2s complement of 8-bit no. by assembly language program, Electrical Engineering

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.

Posted Date: 5/25/2013 8:48:12 AM | Location : United States







Related Discussions:- Find 2s complement of 8-bit no. by assembly language program, Assignment Help, Ask Question on Find 2s complement of 8-bit no. by assembly language program, Get Answer, Expert's Help, Find 2s complement of 8-bit no. by assembly language program Discussions

Write discussion on Find 2s complement of 8-bit no. by assembly language program
Your posts are moderated
Related Questions
The assignment is to plan, design and write a PLC program on the FX Training Software using a PART SUPPLY CONTROL SYSTEM based on the requirement specification outlined be

When the PLC is in the RUN mode it will switch ON the conveyer so it will run continuously. This project is divided into four outcomes: (a)    Detect block on entry, close

What is the power of the signal transmitted by powerful cell phones? Ans) The powerful cell phones can transfer a signal of 3 watts.

Explain Inverse Discrete-Time Fourier Transform 1. Observe the same things among this formula and the inverse analogue Fourier transform: The (1/2π) factor The sign

kindly send us the formula and C program for performance improvement of distribution system using HV/LV ratio. REGARDS ANUJ AGARWALA


Collection and Payment Systems Payments are currently made in person in most of the places. Only some places payments could be made on line or by the ATM (Automated Teller Mac

Q. Determine the voltages V x using voltage division and equivalent resistor reductions for the circuits shown in Figure.

Q. Define Integrated circuits? For the fabrication of semiconductor circuits, there are three distinct technologies employed: 1. Discrete-component technology, in which each

Define HRQ? The hold demand output requests the access of the system bus. In non- cascaded 8257 systems, this is linked with HOLD pin of CPU. In cascade mode, this pin of a sla