Quellcode durchsuchen

Move EMIT to low core

This allows us to remove one layer of indirection in (wnf). This is
possible now that EMIT is a switch word.
master
Virgil Dupras vor 3 Jahren
Ursprung
Commit
8f3891f7d3
5 geänderte Dateien mit 5 neuen und 6 gelöschten Zeilen
  1. +1
    -0
      blk/356
  2. +0
    -2
      blk/363
  3. +4
    -0
      blk/364
  4. +0
    -4
      blk/382
  5. BIN
      cvm/forth.bin

blk/381 → blk/356 Datei anzeigen

@@ -7,3 +7,4 @@ SYSVARS 0x0a + :** NL
XCURRENT @ _xapply ORG @ 0x06 ( stable ABI uflw ) + !
: (oflw) LIT" stack overflow" ERR ;
XCURRENT @ _xapply ORG @ 0x13 ( stable ABI oflw ) + !
: (wnf) (print) LIT" word not found" ERR ;

+ 0
- 2
blk/363 Datei anzeigen

@@ -1,5 +1,3 @@
: (wnf) LIT" (print)" FIND DROP EXECUTE
LIT" word not found" ERR ;
: (parse) ( a -- n )
_pc IF EXIT THEN
_ph IF EXIT THEN


+ 4
- 0
blk/364 Datei anzeigen

@@ -5,3 +5,7 @@ SYSVARS 0x0c + :** C<*
?DUP NOT IF C<* ELSE EXECUTE THEN ;
: , H@ ! H@ 2+ HERE ! ;
: C, H@ C! H@ 1+ HERE ! ;
: ,"
BEGIN
C< DUP 34 ( ASCII " ) = IF DROP EXIT THEN C,
AGAIN ;

+ 0
- 4
blk/382 Datei anzeigen

@@ -1,4 +0,0 @@
: ,"
BEGIN
C< DUP 34 ( ASCII " ) = IF DROP EXIT THEN C,
AGAIN ;

BIN
cvm/forth.bin Datei anzeigen


Laden…
Abbrechen
Speichern