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
What is preemptive and nonpreemptive scheduling? Under nonpreemptive scheduling once the CPU has been allocated to a process, the process keeps the CPU unless it releases the C

LINUX VS WINDOWS I/O MANAGEMENT

What are the hardware and software requirements for virtual memory? The hardware required for virtual memory is a secondary memory and page table. The page table should have th

Operating Systems 1. Explain single Partition Allocation and Multiple Partition Allocation. 2. What do you mean by PCB? What useful information is available in PCB? 3. De

how response times are reduced by allowing time sharing on top of multiprogramming

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 is indexed allocation? Every file has its own block of pointers to the sectors of the file.

Explain Threads for Executing Concurrent Application Code The thread has been introduced in many operating systems as an efficient mechanism for executing concurrent applicatio

Examining the write/cycles as shown below We can see that the bus is designed for asynchronous read/write cycles. The operation of the write cycle is simple in that the add

What are over lays? If a large process enters which is huge than the available memory we are able to use overlays. In this we can divide process into pieces .which is recognize