Dbg Syms
Dbg Syms
Macintosh · PDF
| Filename | dbg-syms.pdf |
|---|---|
| Size | 0.33 MB |
| Subsection | prototypes / 1985_YACC / firmware / yaccsbug |
| Downloads | 1 |
Contents
Macsbug-syms.text
Modification history
:3-Sep-84 Added i.Jher·eRm ~ c:ode (shot~ l d ! tgf..e9r·c4te ~-~H code here)
5-Sep-84 t·~od if i ed ~-~hereAm i to search for UNLK RC: - BTS/tJt~1p (RO)
rs;.·
r-·: ••._-,. ...-_..
6-Sep-84 ~-~hereAm i
buffer
stuff)
(from D ~ te:=-::t)
LookupPC
AO ( i npt~t)
R1 ( ~ rapt~ t )
the =.}1J i tie of the prc=9rGm CCHJn ter·· to
~ o::t;::.,tip
uJhere to mr i te 01_.1 t the chcirac ters to .
DO-D2/R2
Uses
!J.ihere PC ?S.
If in
in user space, attempts to
do L i SC~ PfJSC:(~ ~ S!Jmbo ! s /'Dui.}Q ~ ! Si:Jmbo ~ s ( e 1.}er~ !JAG! ~ i !J )
if no S!dmbo is found~: sets EQ CC f I ag_; e i se NE
Lookt~pEn tr!:J
TST . B
sh!J!.!JSi::1ms
S(~=-..1e some re~~s
RO ors s t(~:::k
(Are i.!Je di sp ~ Gi:J i n9 SiJmbo ! s?
Mo . e}:: i t .
.1
1
;-:
__ :-, •___
.{::. .: ne_;
:-:,-:
nt_~mci:t
BLT.S
~
Be ~ O!.uBom
AO
·=:
Hom
=> sometohere i n Bam
C:LB.L
.:;
.:
~
!
LGOKt.ipt:.n tr~:1
t·10UE . L
(SP)+.; A2
f·10l)EJi . L
D3-07/A3-A4,-(SP)
t10t.JE ~ L
AO_,DO
BCLB
#0.,DO
trashes [HJ /A2 ~! .sc.P...ies std regs.: RO on s tc~ck
scp. }e re turn :Jddress
s-:1:...;e s~:1me re9s
nooJ m;Jke st~r·e r~ddress i s e=.}en
D0 AO
1
R0 1 -(SP)
S!:JmF::tund
reset last procedure f !ag
reset name found flag
(fi2)
c~nd
SF
t1rst look for L!NK A6
return
~200.:DO
*~;4E86_.Di
!eek fer L!NK A6
Look 4~-ford
search forward by 2·s
and try to find it
fot.4nd ~ t.t AO pts to LINK Afi
t·iciskBC .: AO
!:l
#2 .. 02
BNE.S
@O
t·10tJE. L
t·10l}E. L
#0.=DO
#2048.=DO
#$4E75 ,D1
c ~ eGr c:ot.;nter
sei:Arc:h 2K uJords f c=r BTS
set.. seGrch '-}G ~ l~e for HTS
set for pos ~ t. i 1.. h~ !.uort:l se:::1rc:h
(SP)_: AO
set AO = PC
4
r·10t.JEQ
MOt)E.L
i urge dummy :.)a ! ue ( FFFFFF )
!ocat ion
A6
r1·:·
:on
s:_~ .:. u .._:
Look4~·~ord
AO pts
BNE.S
rkt::kBC .= AO
A0.%04
~·10!..JEQ
t·10i.)E . ~.J
BSH.S
BNE.S
#2048.!DO
#$4EDO.! Di
(SP)_, AO
set se1=~rc:h t.J(.'~ i ue .= D2 st ~ i ~
.J::-.1 i i d
i.
set RO = PC
search for i t
f ct1..~nd .; AO p ts ti:: :Jt·1P (RO )
Look4L-!ord
Q·-;
;::.;;:.,.
RO.:D4
BGT.S
D4 ::-
(AO)
AO~!
D4 .1AO
f*IGi:Jbe founfj either BTS or :Jt·1P (f10) .: first cf-1ec:k u.1hether iJJe di !j fl nsj Gn;:Jt!i i r!:;!.
see tohet..her ! t: s ; c: i oser: thc:u-; Li t~K A6
~ f not.:
4
•
w
or
C:MP.L
t·1GskBC ·' AO
BEO.S
LocskupE::< ~ t
BGE4S
@O
AO,,D:::;
if AO= FFFFFF
uJh i e:h
Lookt~pE::-:: i t
4
BT:3 '!i :Jf·iP (AO > or L i NK?
D:3 >= AO~' HST /'=Jt·1P (AO ) c i oser then L t NK .=
if
of rout ~ne
i s !_: 1 i_ir::: =::r · .~
+..hen neither
Cl !
AO_. -(SP>
* 10_;DO
#$4E5E}D1
set seG1r·ch !.}::::; i ue to UNLK A6
t·10UEQ
#-2~: D2
set_ for b!Jcku.?:J.rds uJ::;rd se:::irc:h
;::-·T""a
c-:.:=tn
..;-·
::
Look4~·~ord
C:-!
(. ::;r! }+ ; AO
not f otJrgj .: cor:d l t i or1cJ I b:::f i ~ out
set AO bs::1ck to pos i t i =::n c: f l cis t
Pr En tProe:S1::,tm
found, print out string
f·10t)E ~ L
( ~;r-: .::+ . RO
RODQ
#2.~ RO
'Jet i as t_ i ns trt4C: t i c1n
bump ·b:~ r-;e…
Showing first 3,000 characters of 6,871 total. Open the full document →