!CALLSTACK.DEF [100] - definitions used by MX_CALLSTACK !-------------------.-------------------.-------------------.-------------------. !EDIT HISTORY ! VEDIT=100 ! Note: history reformatted 9-Feb-17 ! [100] 26-Nov-16 /jdm / Created !-------------------.-------------------.-------------------.-------------------. !NOTES ! MX_CALLSTACK added in 6.3.1538.0 !-------------------.-------------------.-------------------.-------------------. ++ifndef CSTF_RUN ++message Including callstack.def ! call types define CSTF_RUN = &h0000 ! define CSTF_CALL = &h0001 ! GOSUB/CALL (incl call Fn'xxx) define CSTF_AMOS = &h0002 ! XCALL AMOS define CSTF_FN = &h0003 ! Fn'xxx() define CSTF_PROC = &h0004 ! call proc() define CSTF_XCALL = &h0005 ! XCALL SBX define CSTF_VXCALL = &h0006 ! VCALL SBX define CSTF_OPMASK = &h0007 ! mask for opcodes defstruct ST_CALLSTACK ! stack array element layout map2 calltype,b,2 ! see CSTF_xxx map2 src'lno,b,2 ! line # at or prior to call map2 src'loc,b,4 ! location counter at call map2 dst'loc,b,4 ! target location for call (for _CALL, _FN, _PROC) map2 dst'name,s,52 ! name of sbx or AMOS command line endstruct ++endif