; BOOT.4th for MSP_EXP430FR5994
; --------
- [UNDEFINED] DUP
- [IF]
+; ------------------------------------------------------------------
+; first we download the set of definitions we need (from CORE_ANS.4th for MSP_EXP430FR5994)
+; ------------------------------------------------------------------
+
+ [UNDEFINED] DUP [IF]
CODE DUP
BW1 SUB #2,R15
MOV R14,0(R15)
ENDCODE
[THEN]
- [UNDEFINED] DROP
- [IF]
+ [UNDEFINED] DROP [IF]
CODE DROP
MOV @R15+,R14
MOV @R13+,R0
ENDCODE
[THEN]
- [UNDEFINED] =
- [IF]
+ [UNDEFINED] = [IF]
CODE =
SUB @R15+,R14
SUB #1,R14
ENDCODE
[THEN]
- [UNDEFINED] +
- [IF]
+ [UNDEFINED] + [IF]
CODE +
ADD @R15+,R14
MOV @R13+,R0
ENDCODE
[THEN]
- [UNDEFINED] EXECUTE
- [IF]
+ [UNDEFINED] EXECUTE [IF]
CODE EXECUTE
PUSH R14
MOV @R15+,R14
ENDCODE
[THEN]
- DUP 4 =
+; --------------------------
+; end of definitions we need
+; --------------------------
+
+; ------------------------------------------------------------------------------
+; WARNING !
+; ------------------------------------------------------------------------------
+; it is not recommended here to compile then execute a definition
+; because the risk of crushing thereafter.
+; Interpreting mode as below is required:
+; ------------------------------------------------------------------------------
+
+ DUP 6 =
[IF]
DROP
RST_RET
LOAD" SD_TEST.4TH"
[ELSE]
- ' SYS $0A + EXECUTE
+ ' SYS $0E + EXECUTE
[THEN]