[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] NOT

From: Dennis Ruffer
Subject: Re: [gforth] NOT
Date: Fri, 15 Feb 2019 16:56:32 -0800

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

From: J. David Boyd
Sent: Friday, February 15, 2019 1:42 PM
To: address@hidden
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.


Dave in Hudson, FL

reply via email to

[Prev in Thread] Current Thread [Next in Thread]