aboutsummaryrefslogtreecommitdiff
path: root/debug.inc
diff options
context:
space:
mode:
Diffstat (limited to 'debug.inc')
-rw-r--r--debug.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/debug.inc b/debug.inc
index 230c7e8..f410096 100644
--- a/debug.inc
+++ b/debug.inc
@@ -37,4 +37,10 @@
m_bind data_to_zstring_m%2
m_call print_zstring
%endm
+
+%macro FLAGD 0-1 h
+ pushfq
+ pop rax
+ REGD rax, %1
+%endm
%endif