aboutsummaryrefslogtreecommitdiff
path: root/debug.inc
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2024-07-14 11:07:06 -0700
committerChristian Cunningham <cc@localhost>2024-07-14 11:07:06 -0700
commit13799fb3f48d8446046b901233c449fadc1af3b2 (patch)
tree56d89be961021aa8f1754231748fc1fe5e1cf38d /debug.inc
parent5b0f04f0c5d406def1acbcdbcc114e9b4bf5c7da (diff)
Display Flag RegistersHEADmaster
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