From 13799fb3f48d8446046b901233c449fadc1af3b2 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 14 Jul 2024 11:07:06 -0700 Subject: Display Flag Registers --- debug.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debug.inc') 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 -- cgit v1.2.1