OSDN Git Service

fixed ASSEMBLER crash
[fast-forth/master.git] / MSP430-FORTH / DEEP_RST.f
1 \ -*- coding: utf-8 -*-
2
3 ; ------------
4 ; DEEP_RST.f
5 ; ------------
6
7 ; restore signatures and vectors area
8
9 \ TARGET SELECTION ( = the name of \INC\target.pat file without the extension)
10 \ MSP_EXP430FR5739  MSP_EXP430FR5969    MSP_EXP430FR5994    MSP_EXP430FR6989
11 \ MSP_EXP430FR2433  MSP_EXP430FR4133    MSP_EXP430FR2355    CHIPSTICK_FR2433
12 \ LP_MSP430FR2476
13 \
14 \ from scite editor : copy your target selection in (shift+F8) parameter 1:
15 \
16 \ OR
17 \
18 \ drag and drop this file onto SendSourceFileToTarget.bat
19 \ then select your TARGET when asked.
20 \
21 [UNDEFINED] ! [IF]
22 \ https://forth-standard.org/standard/core/Store
23 \ !        x a-addr --   store cell in memory
24 CODE !
25 MOV @PSP+,0(TOS)    \ 4
26 MOV @PSP+,TOS       \ 2
27 MOV @IP+,PC         \ 4
28 ENDCODE
29 [THEN]
30
31 ECHO -1 SAVE_SYSRSTIV ! COLD \ download to unlock JTAG and BSL, last chance...