;------------------------------------------------------------------------------\r
\r
.586p\r
- .model flat\r
+ .model flat,C\r
.code\r
\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-_AsmReadDr4 PROC\r
+AsmReadDr4 PROC\r
+ ;\r
+ ; DR4 is alias to DR6 only if DE (in CR4) is cleared. Otherwise, reading\r
+ ; this register will cause a #UD exception.\r
+ ;\r
+ ; MS assembler doesn't support this instruction since no one would use it\r
+ ; under normal circustances. Here opcode is used.\r
+ ;\r
DB 0fh, 21h, 0e0h\r
ret\r
-_AsmReadDr4 ENDP\r
+AsmReadDr4 ENDP\r
\r
END\r