Hexadecimal & Anding!

  MrNerdy 19:22 22 Jun 07
Locked

Anyone know any good sites on learning Hexadecimal & Anding?

  VoG II 19:32 22 Jun 07

click here

Which language for the AND?

  Legolas 21:33 22 Jun 07

Now you,ve given me nightmares, done some of this at college hexadecimal, anding and gates. Understood very little so I cant help. Good luck.

  daba 21:46 22 Jun 07

Hexadecimal (aka "Hex") is a way of representing the value of groups of four binary bits with a single character. Each group of four bits can have 16 possible values:-

0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
1010 = A
1011 = B
1100 = C
1101 = D
1110 = E
1111 = F

This comes into its own for specifying memory address, that can be 16, 32, 64, or even 128 bits long.

e.g. F3D4 = 1111 0011 1101 0100 (a 16-bit address)

When you AND hexadecimal numbers, you have to convert them to binary, and do the ANDing bitwise, then convert back to Hex.

e.g. 3EA9 = 0011 1110 1010 1001
AND FF3F = 1111 1111 0011 1111
= 0011 1110 0010 1001 = 3E29

  daba 21:51 22 Jun 07

e.g 3EA9 = 0011 1110 1010 1001
AND FF3F = 1111 1111 0011 1111
========== 0011 1110 0010 1001 = 3E29

  daba 21:51 22 Jun 07

reformat again!

e.g 3EA9 = 0011 1110 1010 1001
AND FF3F = 1111 1111 0011 1111
======= 0011 1110 0010 1001 = 3E29

This thread is now locked and can not be replied to.

Huawei P10 review

1995-2015: How technology has changed the world in 20 years

How VR is being used to simulate space

New iPad, iPhone SE & Red iPhone 7 on sale now