From: Ralph Ronnquist Date: Wed, 26 May 2021 03:55:58 +0000 (+1000) Subject: make TRUE and FALSE values X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=a77b3bd4d261029c6d3d10de33a163f94acef496;p=rrq%2Frrqforth.git make TRUE and FALSE values --- 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