user manual

Using the 177Bug Debugger
B-31
B
Address as a Parameter
Many commands use ADDR as a parameter. The syntax accepted
by 177Bug is similar to the one accepted by the MC68060 one-line
assembler. All control addressing modes are allowed. An Òaddress
+ offset registerÓ mode is also provided.
Address Formats
Table B-2 summarizes the address formats which are acceptable for
address parameters in debugger command lines.
Table B-2. Debugger Address Parameter Formats
Format Example Description
N 140 Absolute address+contents of
automatic offset register.
N+Rn 130+R5 Absolute address+contents of
the speciÞed offset register (not
an assembler-accepted syntax).
(An) (A1) Address register indirect (also
post-increment, predecrement)
(d,An) or
d(An)
(120,A1)
120(A1)
Address register indirect with
displacement (two formats
accepted).
(d,An,Xn) or
d(An,Xn)
(&120,A1,D2)
&120(A1,D2)
Address register indirect with
index and displacement (two
formats accepted).
([bd,An,Xn],od) ([C,A2,A3],&100) Memory indirect preindexed.
([bd,An],Xn,od) ([12,A3],D2,&10) Memory indirect postindexed.
For the memory indirect modes, Þelds can be omitted.
For example, three of many permutations are as follows:
([,An],od) ([,A1],4)
([bd]) ([FC1E])
([bd,,Xn]) ([8,,D2])
Notes N Ñ Absolute address(any valid expression).