blob: ed2971cd24d358fd101727ad406e5d03df01a3c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
%include "defs.asm"
;************************* debugbreak64.asm **********************************
; Author: Agner Fog
; Date created: 2011-07-09
; Last modified: 2011-07-09
; Source URL: www.agner.org/optimize
; Project: asmlib.zip
; Language: assembly, NASM/YASM syntax, 32 bit
;
; C++ prototype:
; extern "C" void A_DebugBreak(void);
;
; Description:
; Makes a debug breakpoint. Works only when running under a debugger
;
;
; Copyright (c) 2011 GNU General Public License www.gnu.org/licenses
;******************************************************************************
;
; C++ prototype:
; extern "C" void A_DebugBreak(void);
global A_DebugBreak: function
SECTION .text
A_DebugBreak:
int3
nop
ret
;A_DebugBreak ENDP
|