00100101 a 42 00000000

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 0 00001111 ----------------------------------| (47) : 00000000 00101111 ----------------------------------- Bitwise XOR Bitwise NOT A (42) : 00000000 00101010 B (15) : 00000000 00001111 ----------------------------------& (37) : 00000000 00100101 ----------------------------------- A (42) : 00000000 00101010 ----------------------------------~ (-43) : 11111111 11010101 ----------------------------------- BITWISE SHIFT OPERATORS BITWISE Bitwise Right Shift ( >> ) Bitwise Right Shift ( >> ) (positive values) (negetive values) A (43) : 00000000 00101011 A (43) : 00000000 00101011 A (-44) : 11111111 11010100 ------------------------------------------------------------------------------------------------------A >> 2 : 00000000 00001010 A << 2 : 00000000 10101100 A >> 2 : 11111111 11110101 ------------------------------------------------------------------------------------------------------Note : Right shift operator fills the left vacant fields with ‘zeros’ for pos...
View Full Document

This note was uploaded on 11/15/2011 for the course ECKOW 123 taught by Professor Riuyt during the Spring '11 term at University of Damascus.

Ask a homework question - tutors are online