2020-08-15 16:37:58 -04:00
|
|
|
CREATE XCURRENT 0 ,
|
2020-09-19 13:54:01 -04:00
|
|
|
: XCON XCURRENT CURRENT* ! ; : XCOFF 0x02 RAM+ CURRENT* ! ;
|
|
|
|
: (xentry) XCON (entry) XCOFF ; : XCREATE (xentry) 2 C, ;
|
2020-10-28 15:02:06 -04:00
|
|
|
: X:** (xentry) 5 C, , ;
|
2020-09-19 13:54:01 -04:00
|
|
|
: XCODE XCON CODE XCOFF ; : XIMM XCON IMMEDIATE XCOFF ;
|
2020-05-12 21:08:18 -04:00
|
|
|
: _xapply ( a -- a-off )
|
|
|
|
DUP ORG @ > IF ORG @ - BIN( @ + THEN ;
|
2020-09-19 13:54:01 -04:00
|
|
|
: XFIND XCURRENT @ SWAP _find DROP _xapply ;
|
2020-09-19 19:44:15 -04:00
|
|
|
: XLITN LIT" (n)" XFIND , , ;
|
2020-11-10 20:30:37 -05:00
|
|
|
: X' XCON ' XCOFF ; : X'? XCON '? XCOFF ;
|
|
|
|
: X['] XCON ' _xapply XLITN XCOFF ;
|
2020-09-19 19:44:15 -04:00
|
|
|
: XCOMPILE XCON ' _xapply XLITN
|
2020-09-19 18:51:29 -04:00
|
|
|
LIT" ," FIND DROP _xapply , XCOFF ;
|
2020-05-12 21:08:18 -04:00
|
|
|
: X[COMPILE] XCON ' _xapply , XCOFF ;
|