8.6.1.0390
2LITERAL
two-literal
DOUBLE
Interpretation:
Interpretation semantics for this word are undefined.
Compilation:
(
x
1
x
2
-- )
Append the run-time semantics below to the current definition.
Run-time:
( --
x
1
x
2
)
Place cell pair
x
1
x
2
on the stack.
See:
A.8.6.1.0390 2LITERAL
.
Rationale:
Typical use:
:
X
...
[
x1
x2
]
2LITERAL
...
;
Testing:
T{
:
cd1
[
MAX-2INT
]
2LITERAL
;
-> }T
T{ cd1 -> MAX-2INT }T
T{
2VARIABLE
2v4
IMMEDIATE
5 6 2v4
2!
-> }T
T{
:
cd7 2v4
[
2@
]
2LITERAL
;
cd7 -> 5 6 }T
T{
:
cd8
[
6 7
]
2v4
[
2!
]
;
2v4
2@
-> 6 7 }T
Forth 2012
Forth 2012
Double-Number 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
2LITERAL
2CONSTANT
2LITERAL
2VARIABLE
D+
D-
D.
D.R
D0<
D0=
D2*
D2/
D<
D=
D>S
DABS
DMAX
DMIN
DNEGATE
M*/
M+
2ROT
2VALUE
DU<