2020-06-19 21:56:54 +10:00
|
|
|
CODE _find ( cur w -- a f )
|
|
|
|
SI POPx, ( w ) DI POPx, ( cur )
|
|
|
|
CALLn, lblfind @ RPCn,
|
|
|
|
IFNZ, ( not found )
|
|
|
|
SI PUSHx, AX AX XORxx, AX PUSHx,
|
|
|
|
JMPn, lblnext @ RPCn,
|
|
|
|
THEN, ( found )
|
|
|
|
DI PUSHx, AX 1 MOVxI, AX PUSHx,
|
2020-06-19 21:26:33 +10:00
|
|
|
;CODE
|