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 are hard magnetic materials, What are hard magnetic materials? Har...

What are hard magnetic materials? Hard Magnetic materials- They have a slowly rising magnetization curve along with large hysteresis loop area and therefore large energy losses

Drive operating envelopes and induction machines, Solve using data from the...

Solve using data from the DC machine data sheet, using the "hot" resistance value for all calculations. Note that the value of K on the sheet is for rated (100%) field flux.  Assum

Transistor configurations, TRANSISTOR CONFIGURATIONS: Transistor circu...

TRANSISTOR CONFIGURATIONS: Transistor circuits may be categorized into three configurations based on which terminal is common to both of the input and output of circuit. Th

Describe the working of bistable multivibrator, Q. Describe the working of ...

Q. Describe the working of bistable multivibrator A bistable circuit is one which can exit indefinitely  in either of two stable states and which can be induced to make an abru

Explain symmetrical t-attenuator, Question 1 State and Explain Kirchhoff's...

Question 1 State and Explain Kirchhoff's Voltage and Current Law Question 2 State and prove Thevenine's Theorem Question 3 What is a filter? Design a Constant -K band Pa

Multimeter probes, different types of probes used in multimeter

different types of probes used in multimeter

Switched mode power supply , Switched Mode Power Supply  (SMPS) Switch...

Switched Mode Power Supply  (SMPS) Switching mode power  supply converts an unregulated DC voltage  to a regulated DC  output  voltage . SMPS  stands  for switched mode  power

Linear and IC applications, bias compensation techniques for ac and dc char...

bias compensation techniques for ac and dc characteristics

Electrostatic sprayer, I would like to know the materials needed for electr...

I would like to know the materials needed for electrostatic sprayer.

Coherent psk system, To have the same value of P e , show that E b /N 0 in...

To have the same value of P e , show that E b /N 0 in a coherent-ASK system has to be twice that in a coherent PSK system.

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