aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/usart-txq.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/usart-txq.asm')
-rw-r--r--amforth-6.5/msp430/words/usart-txq.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/amforth-6.5/msp430/words/usart-txq.asm b/amforth-6.5/msp430/words/usart-txq.asm
new file mode 100644
index 0000000..9868346
--- /dev/null
+++ b/amforth-6.5/msp430/words/usart-txq.asm
@@ -0,0 +1,15 @@
+; ----------------------------------------------------------------------
+; TERMINAL I/O (TARGET-SPECIFIC)
+
+;C EMIT? c -- output character to console
+HEADER(XT_USART_TXQ_POLL,3,"tx?",DOCOLON)
+ .dw XT_PAUSE
+ .dw XT_DOLITERAL
+ .dw bm_USART_TXRD
+ .dw XT_DUP
+ .dw XT_DOLITERAL
+ .dw USART_TX_CFG
+ .dw XT_CFETCH
+ .dw XT_AND
+ .dw XT_EQUAL
+ .dw XT_EXIT