Set Debug Watchpoint


This function will set a debug watchpoint at a
specified linear address.

To Call

AX = 0B00h
BX:CX = Linear address of watchpoint
DL = Size of watchpoint (1, 2, or 4)
DH = Type of watchpoint
0 = Execute
1 = Write
2 = Read/Write

Returns

If function was successful:
Carry flag is clear
BX = Debug watchpoint handle

If function was not successful:
Carry flag is set

Programmer's Notes

None