aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/sharp-greater.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/sharp-greater.asm')
-rw-r--r--amforth-6.5/common/words/sharp-greater.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/sharp-greater.asm b/amforth-6.5/common/words/sharp-greater.asm
new file mode 100644
index 0000000..914aba2
--- /dev/null
+++ b/amforth-6.5/common/words/sharp-greater.asm
@@ -0,0 +1,25 @@
+; ( d1 -- addr count )
+; Numeric IO
+; Pictured Numeric Output: convert PNO buffer into an string
+
+.if cpu_msp430==1
+ HEADER(XT_SHARP_G,2,"#>",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_SHARP_G:
+ .dw $ff02
+ .db "#>"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_SHARP_G
+XT_SHARP_G:
+ .dw DO_COLON
+PFA_SHARP_G:
+.endif
+ .dw XT_2DROP
+ .dw XT_HLD
+ .dw XT_FETCH
+ .dw XT_PAD
+ .dw XT_OVER
+ .dw XT_MINUS
+ .dw XT_EXIT