Docsity

Bit-wise Logical Shifting and Hexadecimal Conversion, Study notes of Computer Architecture and Organization

Partial preview of the text

Download Bit-wise Logical Shifting and Hexadecimal Conversion and more Study notes Computer Architecture and Organization in PDF only on Docsity!

unsigned char a = 0xe3; unsigned char b = (a >> 3) & 0x7;

Bit-wise Logical & Shifting:

a = (a >> 3) = 0x7 = (a >> 3) & 0x7 = = 0x________

Hexadecimal Conversion:

0x14 _________ (decimal) 28 0x________

Hexadecimal Arithmetic:

0x

- 0x