TYPEDEF PTR - size doesn't matter?
问题 I noticed using TYPEDEF to define PTR's with various data types doesn't seem to make any difference. For example, these three types seem to behave exactly the same when used to store and mov 32-bit addresses: PTYPE TYPEDEF PTR PBYTE TYPEDEF PTR BYTE PWORD TYPEDEF PTR WORD .data arrayByte BYTE 10h,20h,30h ptr_1 PTYPE arrayByte ptr_2 PBYTE arrayByte ptr_3 PWORD arrayByte .code main PROC mov eax, ptr_1 mov eax, ptr_2 mov eax, ptr_3 exit main ENDP Is there any practical reason to specify a size