aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/lib/forth2012/core/avr-values.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/lib/forth2012/core/avr-values.frt')
-rw-r--r--amforth-6.5/avr8/lib/forth2012/core/avr-values.frt11
1 files changed, 11 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/lib/forth2012/core/avr-values.frt b/amforth-6.5/avr8/lib/forth2012/core/avr-values.frt
new file mode 100644
index 0000000..a23d0be
--- /dev/null
+++ b/amforth-6.5/avr8/lib/forth2012/core/avr-values.frt
@@ -0,0 +1,11 @@
+
+
+\ EEPROM based values
+
+: Evalue ( n -- )
+ (value)
+ ehere ,
+ ['] Edefer@ ,
+ ['] Edefer! ,
+ ehere dup cell+ to ehere !e
+;