Linked Questions

19 votes
2 answers
28k views

Possible Duplicate: Why are Hexadecimal Prefixed as 0x? Memory addresses are often notated as a hexidecimal value prefixed with 0x. E.g: > new.env() <environment: 0x21d36e0> Does the 0x ...
Jeroen Ooms's user avatar
  • 33.3k
12 votes
4 answers
19k views

What does 0X mean? I saw it mentioned in class, but my teacher didn't have any idea either. Is it synonymous to the word hexadecimal or does it mean all values?
Moraki's user avatar
  • 243
5 votes
2 answers
7k views

Hexadecimal goes from 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. I am confused as to where the 'x' in '0x0f' comes from. And if '0x0f' = '0000 1111' or '15' why not just write '0f'. Pretty sure this is ...
seamus's user avatar
  • 2,901
6 votes
4 answers
3k views

Possible Duplicate: Why are hexadecimal numbers prefixed with 0x? I just saw a comment a friend of mine made: 3x12=36 2x12=24 1x12=12 0x12=18 Which made me wonder... Why did they choose 0x as prefix ...
default's user avatar
  • 11.7k
0 votes
3 answers
5k views

Well, for any kind of address, x is used to represent it. What does x actually signify?
Srujan Barai's user avatar
  • 2,385
1 vote
0 answers
831 views

I am in school and doing an assignment where I disassembly binary files and then interpret them and build a C++ program from them (reverse engineering). What does the "c" position represent ...
Jonathon Addy's user avatar
0 votes
0 answers
237 views

As I mentioned earlier, in the script below, I don't know what is the data type of "0XB"? $a = 0XB; $b= 1; $c= $a + $b; var_dump($c); The result is 12, which means 0XB is 11, I am not sure ...
huyleuit's user avatar
  • 180
14 votes
4 answers
32k views

take a look at this: fc = '0x' for i in b[0x15c:0x15f]: fc += hex(ord(i))[2:] Lets say this code found the hex 00 04 0f , instead of writing it that way , it removes the first 0 , and writes : ...
thethiny's user avatar
  • 1,256
17 votes
4 answers
62k views

I'm learning about x86 inline assembly programming. I wanted to write mov ecx, FFFFFFBB. However, the compiler isn’t recognizing it. How should hexadecimal numbers like that be written in inline ...
Arcytoi's user avatar
  • 193
27 votes
3 answers
5k views

I've always wondered why leading zeroes (0) are used to represent octal numbers, instead of — for example — 0o. The use of 0o would be just as helpful, but would not cause as many problems ...
Hauleth's user avatar
  • 23.7k
0 votes
1 answer
23k views

I have found something like that in the web : arrayOfByte[0] = (byte)((paramShort & 0xFF00) >>> 8); What does this mean (0xFF00)?
patrick.morgan.csm's user avatar
5 votes
2 answers
3k views

I was trying to display 7-segment LED on MDA-8086 kit, but I am stuck at calculating the hexadecimal values for respective digits. I have the code with me, but I don't understand how it actually works....
Apprentice's user avatar
-1 votes
1 answer
7k views

Does anyone knows why people using 0x before number? For example: mov ah, 0x16 mov ah, 16 There is a difference between them?
Amit Avramovich's user avatar
0 votes
3 answers
4k views

I am familiar with binary representation of integers in memory - i.e. how to represent positive numbers, negative numbers, the leading bit is for the sign and so on. I have no idea what representation ...
sammy333's user avatar
  • 1,465
5 votes
1 answer
1k views

I've been digging into the history of BCPL due to a question I was asked about the reasoning behind using the prefix "0x" for the representation hexadecimal numbers. In my search I stumbled upon a ...
Renán Del Valle's user avatar

15 30 50 per page