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

Calculate the generator emf , Q.  The armature of 6 -pole dc generator has...

Q.  The armature of 6 -pole dc generator has a wave winding containing 664 conductors. Calculate the generator emf when flux per pole is 0.06 weber and the speed is 250 rpm. At wh

Specific orientation programme, Specific orientation programme: at this st...

Specific orientation programme: at this stage, induction is conducted by the foreman. Induction is specific and requires skill on the part of the foreman. A new employee must be p

Is the quantizer midriser or midtread, Q. The quantum levels of a quantizer...

Q. The quantum levels of a quantizer are separated by the step size δv = 0.2 V, with the lowest and highest levels of-3.3 V and +3.3 V, respectively. A sequence ofmessage sample

Show the load current is independent of zl, Q. A negative impedance convert...

Q. A negative impedance converter is used, as shown in Figure. Show that the load current i L is given by v in /R, which is independent of Z L . Note that since the load sees a cu

Draw an electrical relay diagram, Draw an electrical relay diagram rung sho...

Draw an electrical relay diagram rung showing a N/O contact of CR1(coil) in series witha N/C contact of CR2(Coil), operating a lamp L1. A delay-on (TON) relay has a preset of 5.

determine the minimum dandwidth of the system - fsk and ask, 1. Data is to...

1. Data is to be transmitted using a modem at 9600 bps. Determine the minimum bandwidth of the system with the following modulation methods (a) FSK (b) ASK. Use the excess

Ac, power factor improvement

power factor improvement

Zener breakdown, Zener breakdown: Zener Breakdown takes place in very ...

Zener breakdown: Zener Breakdown takes place in very thin junction i.e. when both sides of junction layer is narrow. When a small reverse bias voltage is applied a Very strong

Gets parameter schematic, Open the GetSParameter schematic. You will need t...

Open the GetSParameter schematic. You will need to modify the design to include the biasing components. (Even at this stage I would recommend the use of models of real resistors th

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