Binary number system using 8 bit registers, Computer Engineering

Assignment Help:

Q. Binary number system using 8 bit registers?

Add 25 and -30 in binary number system using 8 bit registers using:

  • Signed magnitude representation
  • Signed 1's complement
  • Signed 2's complement

Solution:

873_Binary number system using 8 bit registers.png

To do arithmetic addition with one negative number only we should check magnitude of numbers. The number having smaller magnitude is then subtracted from larger number and sign of bigger number is selected. Implementation of such a technique in digital hardware will need a long sequence of control decisions and circuits which will add and compare and subtract numbers. Is there a better substitute than this technique? Let's first try signed 2's complement.

815_Binary number system using 8 bit registers1.png

Now let's do addition using signed 2's complement notation:

349_Binary number system using 8 bit registers2.png

Please note how easy it is to add 2 numbers employing signed 2's Complement. This method requires just one control decision and just one circuit for adding two numbers however it puts on extra condition that negative numbers must be stored in signed 2's complement notation in registers. This can be obtained by complementing positive number bit by bit and then incrementing resultant by 1 to get signed 2's complement.


Related Discussions:- Binary number system using 8 bit registers

Mclr, 10 k Ohm pulls up on MCLR so that the ICD can force 0, +5, +13 volts ...

10 k Ohm pulls up on MCLR so that the ICD can force 0, +5, +13 volts on this pin. RB6 and RB7 used for PGC and PGD respectively between target and ICD2 module. Some of the requi

Handshake packets - computer architecture, Handshake packets: Handshak...

Handshake packets: Handshake packets consist of nothing but a PID byte, and are usually sent in response to data packets. The 3 basic types are, NAK, indicating that the data

Flow-between matrix layout problem, Solve the problem in page 346 of the pa...

Solve the problem in page 346 of the paper on cell formation by Boctor using the MIP method.  Use 4 cells and no more than 3 machines per cell. Solve the problem using the MIP m

Explain the role of a bus arbiter in a multiprocessor, Explain the role of ...

Explain the role of a bus arbiter in a multiprocessor configuration. Bus arbiter: Which functions to resolve priority between bus masters and allows only one device at a time t

Calculate print speed of printers, Q. Calculate Print Speed of printers? ...

Q. Calculate Print Speed of printers? Speed at which a printer prints is generally an important issue. Though the printer has to take a certain time to print. Printing time ris

Application using shift operations, Application Using Shift Operations ...

Application Using Shift Operations Rotate and Shift instructions are helpful even for division andmultiplication. These operations are not normally available in high-level lang

Find values of x using 7s complement, Q. Perform binary subtraction, using ...

Q. Perform binary subtraction, using 1s & 2s complement: 1) 1010-1011 2) 0.1111-0.101 3) 11.11-10.111 Q.  (192.25)10 - (C0.C)16 = (x)7 Find values of x, using 7's compl

What are addressing modes, What are Addressing Modes Many of instructio...

What are Addressing Modes Many of instructions that a computer actually executes during running of a program concern movement of data to and from memory. It is not possible sim

Explain the operation of 8:1 multiplexer, Explain the operation of 8:1 mult...

Explain the operation of 8:1 multiplexer. Ans: In this multiplexer 8 Input and 1 Output and three select lines i.e. S 2 , S 1 , S 0 are given. Any one of the inputs will be

What is multiprogramming, What is multiprogramming or multitasking? The...

What is multiprogramming or multitasking? The operating system manages the concurrent implementation of several application programs to make the best possible uses of computer

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