정리

4K, 64K, 1MB, 1GB, 2GB의 DWORD 표현

저장소/VC++

원문 출처 : http://callibri.egloos.com/2674940


4K                      0x00001000

64K                   0x00010000

 

1MB                  0x00100000

 

1GB                   0x40000000

2GB                   0x80000000


예를 들어, 0x0000bad4라는 값이 win32의 no-access region 중 하나인 0~64K 영역(정확히는 0x00000000~0x0000ffff)에 속하는가 아닌가를 금방 알려면 위 표현을 외워 놓는.