From a77b3bd4d261029c6d3d10de33a163f94acef496 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 26 May 2021 13:55:58 +1000 Subject: [PATCH] make TRUE and FALSE values --- logic.asm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/logic.asm b/logic.asm index 2696332..53673a8 100644 --- a/logic.asm +++ b/logic.asm @@ -27,17 +27,15 @@ not qword [rsp] next - WORD p_false, 'FALSE',fasm + WORD p_false, 'FALSE',dovalue ;; ( -- 0 ) ;; Push a false flag, 0. - push qword 0 - next + dq 0 - WORD p_true, 'TRUE',fasm + WORD p_true, 'TRUE',dovalue ;; ( -- true ) ;; Return a true flag, -1. (non-zero) - push qword -1 - next + dq -1 pop_false_next: mov qword [rsp],0 -- 2.39.2