Skip to main content
Home Documents Lisa 06 More On Debugging
06 More On Debugging

06 More On Debugging

Lisa · PDF
Filename06_More_On_Debugging.pdf
Size0.34 MB
Subsection toolkit_3.0 / Package_2_Examples
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
06 More On Debugging
/
Loading…
OCR / Text contents
More on Debugging Lisa Stack Frame Information Register US8g~ DO - D2 and An - Al DO - D3 and AD - A2 04 - 07 and A3 - A4 AS A5 A7 Can be used as user temporaries by your procedure Used for c~iler t~rarie$ Compiler uses for locals and pointers Pointer to global stack frame (for main proor.-) Pointer to current local stack frame (current procedure) Pointer to the top of stack (Supervisor if domain • 0 otherwise user) 4 bYte pointers ::::::::::::::::::::::::::::;:::::::::::::::::::::::::::::::::::;:::::::::::::::::::::: one entry for each intrinsic ...ut, each entry : address of start of intrinsic glOO4l variables for that intrinsic ...i t. Global~ Stack Frame: I :::.~~~..~.J~.~.~~:.:: i!ill~it;I,~Z;illi!1 ::::::::::::Size of table depends on ::::::::::::: :::::::~I"of";""""""'in""""""""'r":':':~j{ ·...·..............J~ .....~.P..~..... : : : : : :; : ;: : ;: : : : : : : : : : : : : : : : : : : : ....................................................................................... ~aCk grows down from high address to low address Hij\ Address . . fixed Size <loader info abOUt .-re ~s are) Data Pu • e (512 bytes" up to 128 inuins1c "'its) Shared nain (GlObal) ParMS, 256 bYtes, WlteA use fmDOO--~~~~----~~~~----~~--~------~ AS _---t..1-__Pl'...;..,;;..iv...;,.au_tlain....;.;;,..·_(~G.;;;.;loba..;;..;;..;;.;l;..). ;. PIt.; . ; .,.,; ; aRS..; ;.;,.-".;;;.;2S6;...;....;;;bytes~;.;.,,_sys~teR~.;;;.;use~---f, nain progrM GlODalS Link A5#'" .. ~----------------~----------~------~. Regular lMi t Q1Gbals COMon Size ~------~----~~~--------~~----~ ~ ____--.__t--I_ntr __ inS1_·c_tm __"t_Gl_obal __S_.....---'I. . .~_-t>: SuR of Areas Referenced > > L.jtu:um ofT orO(Jl'lS ffffffff flOll A5 InclUdes regular wU t MthOd slice tables ~ncludes intrinsic Wlit Rethod slice tables 32K ... for Nib CORbined Local Stack Frame (usual case}: Hi. Address fWlCtion Result (0. 2 or ~ bytes) Par_ters (I bytes CleDendina on DIl_ter list) oor ~ I.lSt 7it...., is VIIiIYS SEI.F i' tJu~ SUtic Link (For local Drocs only.. Fra. proc defined inl Return Address 00 procedure that called this procedure) Old AI (fl_ Of proceGlre that called this proceGlre) Local variables of this procedure CoRpiler T~ries for this procedUre .. • AI (StICk rr inStlCk cr.l) is , &l1SC1J Mt/I()(/. ~ 4 Link Ai••... >~e$ • AT first Par_ter list Para.tU' Low ACldress Parameter Information: sed for PllaMtric Procedures Met Fen:tions: Address of procedUre body • Static Link. valCJe = 0 if this is not a local, procedure ~ Stack Frame of TSamVie.,MousePreSSj A7 ~ Defore cal1 to Hi" Address Address Of IIOUSeLPT IIoUSePress SElf Return Addless (To procedure that called JIOUSePress) Old AI (fr. . of procedure that called this procedure) COpied local Yenion Of - ~ AI5 (StICk f r. . in Stack Cr.l) A7- __LPT ,.tlMtar Nne1 pidcSelecUcrt ,ictce&lJox stcetchSelection 1heKind 4 • •• I ~~e • During JIOUSePras Local VlIilbln Stack Area loll Address Local Vari…

Showing first 3,000 characters of 9,713 total. Open the full document →

mp.ls