version 1.6, 1996/09/10 16:08:36
|
version 1.8, 1998/12/08 22:02:36
|
Line 1
|
Line 1
|
\ ASSEMBLER, CODE etc. |
\ ASSEMBLER, CODE etc. |
|
|
\ Copyright (C) 1995 Free Software Foundation, Inc. |
\ Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 27 vocabulary assembler ( -- ) \ tools-ext
|
Line 27 vocabulary assembler ( -- ) \ tools-ext
|
: init-asm ( -- ) |
: init-asm ( -- ) |
also assembler ; |
also assembler ; |
|
|
: code ( -- colon-sys ) \ tools-ext |
: code ( "name" -- colon-sys ) \ tools-ext |
\ start a native code definition |
\ start a native code definition |
header |
header |
threading-method |
threading-method |
Line 47 vocabulary assembler ( -- ) \ tools-ext
|
Line 47 vocabulary assembler ( -- ) \ tools-ext
|
( create the [;code] part of a low level defining word ) |
( create the [;code] part of a low level defining word ) |
;-hook postpone (;code) ?struc postpone [ |
;-hook postpone (;code) ?struc postpone [ |
defstart init-asm ; |
defstart init-asm ; |
interpret/compile: ;code |
interpret/compile: ;code ( compilation. colon-sys1 -- colon-sys2 ) \ tools-ext semicolon-code |
|
|
: end-code ( colon-sys -- ) \ gforth end_code |
: end-code ( colon-sys -- ) \ gforth end_code |
( end a code definition ) |
( end a code definition ) |