X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_emit.adoc;h=b20ecfc326e64fdedbb0dade919d433978f8d650;hb=c39ff90d7e44da4984c0b04370eb41d839779d3b;hp=26651f29e8aa723f40fa449315bf55a4202a6146;hpb=b7da3f7bbd1cb10241163abdb950472e539e796d;p=rrq%2Frrqforth.git diff --git a/adoc/p_emit.adoc b/adoc/p_emit.adoc index 26651f2..b20ecfc 100644 --- a/adoc/p_emit.adoc +++ b/adoc/p_emit.adoc @@ -1,9 +1,14 @@ +// stdio.asm: WORD p_emit,'EMIT',fasm + anchor:p_emit[] -Word: EMIT ----------- +=== Word: EMIT + +.... +Data stack: ( c -- ) +.... ----- -stdio.asm: WORD p_emit,'EMIT',fasm ----- +"EMIT" is a function word that puts the given character code to +standard output (file descriptor 1). The character is the least +significant byte of the top cell.