PUBLIC Breakpoint
PUBLIC Breakpoint2
PUBLIC MemTestData
PUBLIC DoRegMemTest

.686
.model flat, c

.code
Breakpoint PROC
    nop
Breakpoint2::
    ret
Breakpoint ENDP


.data
MemTestData DWORD 012345678h, 0deadbeefh


.code
DoRegMemTest PROC
    lea     eax, MemTestData
    mov     ecx, DWORD PTR [eax]
    mov     DWORD PTR [eax], ecx
    ret
DoRegMemTest ENDP

.code
DoStepCustomBreakTest PROC
    nop
    call    Breakpoint
    ret
DoStepCustomBreakTest ENDP

END
