ptr should be 0x81004 and the its type should be far pointer.
I agree that this is an issue in the uVision debugger. It exists since PK166 version 7.54 when uVision 5 was introduced. I have raised an engineering request. Please create a support case for this and refer to this forum entry. We will try to provide you a patch if possible.
We have a patch available for this issue now. The S166.dll version 3.133.0 and later solves this issue. This will also be solved in any PK166 releases later than 7.57. If you need this patch, raise a support case and refer to this forum entry.
View all questions in Keil forum