18.6.1.2487.35
XC@+
x-c-fetch-plus
XCHAR
(
xc-addr
1
--
xc-addr
2
xchar
)
Fetches the
xchar
at
xc-addr
1
.
xc-addr
2
points to the first memory location after the retrieved
xchar
.
Implementation:
:
XC@+
(
xc-addr -- xc-addr' u )
COUNT
DUP
$80
U<
IF
EXIT
THEN
\
special case ASCII
$7F
AND
$40
>R
BEGIN
DUP
R@
AND
WHILE
R@
XOR
6
LSHIFT
R>
5
LSHIFT
>R
>R
COUNT
$3F
AND
R>
OR
REPEAT
R>
DROP
;
Forth 2012
Forth 2012
Extended-Character word set
Foreword
Proposals Process
200
x
Membership
Introduction
Terms, notation, and references
Usage requirements
Documentation requirements
Compliance and labeling
Glossary
Block word set
Double-Number word set
Exception word set
Facility word set
File-Access word set
Floating-Point word set
Locals word set
Memory-Allocation word set
Programming-Tools word set
Search-Order word set
String word set
Extended-Character word set
Rationale
Bibliography
Compatibility analysis
Portability guide
Reference Implementations
Test Suite
Alphabetic list of words
Glossary
Introduction
Additional terms and notation
Additional usage requirements
Additional documentation requirements
Compliance and labeling
Glossary
XC@+
X-SIZE
XC!+
XC!+?
XC,
XC-SIZE
XC@+
XCHAR+
XEMIT
XKEY
XKEY?
+X/STRING
-TRAILING-GARBAGE
CHAR
EKEY>XCHAR
PARSE
X-WIDTH
XC-WIDTH
XCHAR-
XHOLD
X\STRING-
[CHAR]