version 1.6, 1996/09/10 16:08:36
|
version 1.10, 2000/09/23 15:05:58
|
Line 1
|
Line 1
|
\ ASSEMBLER, CODE etc. |
\ ASSEMBLER, CODE etc. |
|
|
\ Copyright (C) 1995 Free Software Foundation, Inc. |
\ Copyright (C) 1995,1996,1997,1999 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 24
|
Line 24
|
|
|
vocabulary assembler ( -- ) \ tools-ext |
vocabulary assembler ( -- ) \ tools-ext |
|
|
: init-asm ( -- ) |
: init-asm ( -- ) \ gforth |
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 ) |
lastxt here over - flush-icache |
lastxt here over - flush-icache |
previous ?struc reveal ; |
previous ?struc reveal ; |
|
|