aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/lp.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/lp.asm')
-rw-r--r--amforth-6.5/avr8/words/lp.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/lp.asm b/amforth-6.5/avr8/words/lp.asm
new file mode 100644
index 0000000..34fb85a
--- /dev/null
+++ b/amforth-6.5/avr8/words/lp.asm
@@ -0,0 +1,17 @@
+; ( -- addr )
+; System Variable
+; leave stack pointer
+VE_LP:
+ .dw $ff02
+ .db "lp"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_LP
+XT_LP:
+ .dw PFA_DOVARIABLE
+PFA_LP:
+ .dw ram_lp
+
+.dseg
+ram_lp: .byte 2
+.cseg
+