Eh... should have been a little clearer here.
I was thinking he wanted to set a bit pattern, and if you are setting a bit pattern like 0x55 or 0xAA then you'd need 8 hex digits for a 32-bit number. If you want "101010101..." or "0101010101..." for example.
In your example, sure a *value* wouldn't need the 8 digits, but if that was to be a bit pattern you could use 0x54545454 for example.
I was looking at his numbers thinking it was a pattern that needed to be filled up as 32-bit vectors instead of 16-bit ones.
On Sun, 22 May 2011 19:51:32 +1000, Aleksey Bragin aleksey@reactos.org wrote:
Fantastic, so I suppose whenever I want my double word variable to have a value of, say, 0x54 taking your friendly reminder about 8 hex digits into account, I would need to write 0x54545454 because, you know, I need 8 hex digits for 32-bit numbers and need to add some random stuff to fill it up to 8 digits :)
WBR, Aleksey. _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev