Binary arithmetic, Operating System

The principle is that of ordinary addition; however remember the highest number is 1.
 
Calculate the following:
 
                          11001 +
                          11010
 
Answer:
                            11001 +
                            11010
                            110011
 
Subtraction of binary is difficult, however uses 2 compliment it is easier.

Calculate the following:
 
                110011-
                11010
Answer:
 
Step One: Invert 11010 and add 1
 
        11010 -> 00101 + 1 = 00110
 
Step two: Replace -11010 with 00110 and add
 
            110011+
             00110
 
Step three: Remove msb         = 110012

Posted Date: 4/15/2013 5:19:07 AM | Location : United States







Related Discussions:- Binary arithmetic, Assignment Help, Ask Question on Binary arithmetic, Get Answer, Expert's Help, Binary arithmetic Discussions

Write discussion on Binary arithmetic
Your posts are moderated
Related Questions
With software algorithms for mutual exclusion, such as Dekker's algorithm, Peterson's algorithm, or Lamport's bakery algorithm, note that optimizing compilers and out-of-order exec

How can an index file be used to speed up the access in direct-access files? Have an index in memory; the index gives the key and the disk location of its corresponding record.

what is hashed page tables & explain of there work & figure

whta is an operating system ? what sorts services are provided by an operating system ?


Explain the Architecting For Threads When available, threads are an integral part of any multitasking server application program. It is important that the operating system prov

Introduction of linux

Demand paging With demand paging, a page is called into memory only when a location on that page is actually indexed during run time. With pre-paging, pages other than the one

What are the three main activities of an operating system in regard to memory management? Keep track of which parts of memory are now being used and by whom. Decide which pr