aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/devices/msp430f5529/words/env-mcu-info.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/devices/msp430f5529/words/env-mcu-info.asm')
-rw-r--r--amforth-6.5/msp430/devices/msp430f5529/words/env-mcu-info.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/amforth-6.5/msp430/devices/msp430f5529/words/env-mcu-info.asm b/amforth-6.5/msp430/devices/msp430f5529/words/env-mcu-info.asm
new file mode 100644
index 0000000..621fc72
--- /dev/null
+++ b/amforth-6.5/msp430/devices/msp430f5529/words/env-mcu-info.asm
@@ -0,0 +1,10 @@
+ENVIRONMENT(XT_ENV_MCU_INFO,8,"mcu-info")
+ .DW XT_DOLITERAL
+ .dw mcuinfo
+ .DW XT_EXIT
+mcuinfo:
+ ; first fixed sized elements
+ .dw RAMEND-RAMSTART ; RAM Size
+ .dw 0 ; EEPROM Size
+ .dw AMFORTH_START-1 ; max-dp
+ .dw 1 ; number of interrupts