embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: TARGET S" <> HOST S"

From: Leon Wagner <leon_at_forth.com>
Date: Wed, 18 Sep 2002 16:29:27 -0700

The TARGET version of S" does not overwrite anything. But the INTERPRETER
version does as it only has one target buffer (actually HERE in iData space) to
use.

> -----Original Message-----
> From: swiftx-bounce_at_forth.com [mailto:swiftx-bounce_at_forth.com]On Behalf
> Of Bulgrien, Dennis
> Sent: Tuesday, September 17, 2002 10:06 AM
> To: swiftx_at_forth.com
> Subject: [swiftx] TARGET S" <> HOST S"
>
>
>
> TARGET S" overwrites previous S" rendering example from HOST EDIT SEARCH
> invalid for TARGET .
>
> HOST ok
> s" this is a test" 2dup dump
> 411C31 74 68 69 73 20 69 73 20 61 20 74 65 73 74 this is a test ok
> 2dup s" is" .S search . dump
> 4267057 14 4267057 14 4267185 2 <-Top -1
> 411C33 69 73 20 69 73 20 61 20 74 65 73 74 is is a test ok
> s" ix" .S search . dump
> 4267057 14 4267313 2 <-Top 0
> 411C31 74 68 69 73 20 69 73 20 61 20 74 65 73 74 this is a test ok
> TARGET ok
> s" this is a test" 2dup dump
> 82FD2 74 68 69 73 20 69 73 20 61 20 74 65 73 74 this is a test ok
> 2dup s" is" .S search . dump
> 536530 14 536530 14 536530 2 <-Top -1
> 82FD2 69 73 69 73 20 69 73 20 61 20 74 65 73 74 isis is a test ok
> s" ix" .S search . dump
> 536530 14 536530 2 <-Top -1
> 82FD2 69 78 69 73 20 69 73 20 61 20 74 65 73 74 ixis is a test ok
> ----------------------------------------------------------------------
> swiftx_at_forth.com The SwiftX programming discussion email list
> To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
> For help with listar commands, send subject "help" to listar_at_forth.com
> Archives are located at http://www.forth.com/swiftx -- check them out!
> ----------------------------------------------------------------------
> THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.

----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
----------------------------------------------------------------------
THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.
Received on Wed Sep 18 2002 - 16:26:33 PDT

This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 03:04:21 PST