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

Scatter Diagrams - Quality Tools for Improvement, Scatter Diagrams - Qualit...

Scatter Diagrams - Quality Tools for Improvement Scatter diagrams are graphical tools which attempt to depict the influence in which one variable has on another. A general dia

Continuity equation - zero electric field, Continuity Equation: Expla...

Continuity Equation: Explain continuity equation and discus the special case of continuity equation when concentration is independent of time and with zero electric field.

7 segment design, how to design 7 segment design using DSCH2 ?

how to design 7 segment design using DSCH2 ?

Write short note on common vs associated channel signalling, Q. Write short...

Q. Write short note on Common vs. associated channel signalling. Associated vs. Common channel signalling: Out band signalling suffers from very limited bandwidth. Both a

Short circuits effect on cables, When you have a three phase short circuit ...

When you have a three phase short circuit of power cables laid in a trefoil formation they repel apart very dramatically. Why is this and what is happening?

Find terminal line-to-neutral voltage of each phase winding, (a) A wye-conn...

(a) A wye-connected generator is to be designed to supply a 20-kV three-phase line. Find the terminal line-to-neutral voltage of each phase winding. (b) If the windings of the g

Marginal tax rate, Stratos Corporation is a privately held tablet semicondu...

Stratos Corporation is a privately held tablet semiconductor technology firm with bright growth prospects.The past 5 years have seen the firm evolve from a pure startup to a profit

Stator current control methods - motor control , Stator  Current Control ...

Stator  Current Control Methods The torque  and speed  of an induction motor  can be  controlled  by the  stator  current  the motor  behaviour  is different from that with VS

Calculate the rated load current of machine, A 500 MVA, 33kv, three phase s...

A 500 MVA, 33kv, three phase steam turbine generator has a synchronous reactance of 1.6 p.u. It delivers a rated output at 0.8 power factor lagging. Calculate (a) The synchronou

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