ptr32 and ptr64 support