aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/user.inc
blob: 47a89955851beceac84615d8407d1c3db5ca0ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
; Layout of the user area
; 

 USER_STATE    EQU 0   ; the task state, not the interpreter state
 USER_FOLLOWER EQU 2   ; used by multitasker
 USER_RP       EQU 4
 USER_SP0      EQU 6
 USER_SP       EQU 8
 USER_HANDLER  EQU 10
 USER_BASE     EQU 12

 USER_EMIT     EQU 14
 USER_EMITQ    EQU 16
 USER_KEY      EQU 18
 USER_KEYQ     EQU 20

 USER_SOURCE   EQU 22
 USER_TO_IN    EQU 24
 USER_REFILL   EQU 26

USER_P_OK      EQU 28
USER_P_ERR     EQU 30
USER_P_RDY     EQU 32

 SYSUSERSIZE   EQU 34