Laptop User Manual
Entering Debugger Command Lines
MVME166IG/D2 4-7
4
Example: A portion of the listing file of an assembled, relocatable 
module is shown below: 
  1
  2      *
  3      * MOVE STRING SUBROUTINE
  4      *
  5  0 00000000 48E78080  MOVESTR MOVEM.L  D0/A0,—(A7)
  6 0 00000004 4280    CLR.L D0
  7 0 00000006 1018    MOVE.B (A0)+,D0
   8  0 00000008 5340      SUBQ.W #1,D0
  9 0 0000000A 12D8   LOOP  MOVE.B (A0)+,(A1)+
  10 0 0000000C 51C8FFFC  MOVS DBRA D0,LOOP
  11  0 00000010 4CDF0101    MOVEM.L  (A7)+,D0/A0
  12 0 00000014 4E75    RTS
  13
  14        END
  ****** TOTAL ERRORS  0——
  ****** TOTAL WARNINGS  0——
The above program was loaded at address $0001327C. 
The disassembled code is shown next: 
166Bug>MD 1327C;DI
0001327C 48E78080 MOVEM.L D0/A0,—(A7)
00013280 4280 CLR.L D0
00013282 1018 MOVE.B (A0)+,D0
00013284 5340 SUBQ.W #1,D0
00013286 12D8 MOVE.B (A0)+,(A1)+
00013288 51C8FFFC DBF D0,$13286
0001328C 4CDF0101 MOVEM.L (A7)+,D0/A0
00013290 4E75 RTS
166Bug>










