Gforth 0.7.9_20181115, Copyright (C) 1995-2017 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `help' for basic help
see invert
Code invert
      405A67:   mov     $50[r14],rbx
      405A6B:   not     dword PTR [r15]
      405A6E:   add     rbx,$08
      405A72:   mov     rdx,-$08[rbx]
      405A76:   jmp     edx
end-code
 
DaR

From: J. David Boyd
Sent: Friday, February 15, 2019 1:42 PM
To: gforth@gnu.org
Subject: [gforth] NOT


Any idea how to implement the word NOT in gforth to create a 1s complement?
I can find an assembler definition in SwiftForth, but no other luck anywhere.

I also don't seem to be able to find the assembler registers used by gforth.
Either I'm blind, or it is not documented anywhere.

TIA,

Dave in Hudson, FL




Reply via email to