aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/alu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/tic80/alu.h')
-rw-r--r--sim/tic80/alu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h
index d8fb136..1bb4054 100644
--- a/sim/tic80/alu.h
+++ b/sim/tic80/alu.h
@@ -63,6 +63,8 @@ do { \
/* Floating point support */
+#define IS_FP_AVAILABLE ((CPU)->cr[IE_CR] & IE_CR_IE)
+
#include "sim-fpu.h"