Back to index

cell-binutils  2.17cvs20070401
opers12-dwarf2.d
Go to the documentation of this file.
00001 #objdump: -S
00002 #as: -m68hc12 -gdwarf2
00003 #name: Dwarf2 test on opers12.s
00004 #source: opers12.s
00005 
00006 .*: +file format elf32\-m68hc12
00007 
00008 Disassembly of section .text:
00009 
00010 0+00 <start>:
00011        sect .text
00012        globl start
00013 
00014 start:
00015        anda   \[12,x\]             ; Indexed indirect
00016    0:  a4 e3 00 0c   anda   \[12,X\]
00017        ldaa   #10
00018    4:  86 0a         ldaa   #10
00019        ldx    L1
00020    6:  fe 00 00      ldx    0 <start>
00021 
00022 0+09 <L1>:
00023 L1:    ldy    ,x
00024    9:  ed 00         ldy    0,X
00025        addd   1,y           ; Offset from register
00026    b:  e3 41         addd   1,Y
00027        subd   \-1,y
00028    d:  a3 5f         subd   \-1,Y
00029        eora   15,y
00030    f:  a8 4f         eora   15,Y
00031        eora   \-16,y
00032   11:  a8 50         eora   \-16,Y
00033        eorb   16,y
00034   13:  e8 e8 10      eorb   16,Y
00035        eorb   \-17,y
00036   16:  e8 e9 ef      eorb   \-17,Y
00037        oraa   128,sp
00038   19:  aa f0 80      oraa   128,SP
00039        orab   \-128,sp
00040   1c:  ea f1 80      orab   \-128,SP
00041        orab   255,x
00042   1f:  ea e0 ff      orab   255,X
00043        orab   \-256,x
00044   22:  ea e1 00      orab   \-256,X
00045        anda   256,x
00046   25:  a4 e2 01 00   anda   256,X
00047        andb   \-257,x
00048   29:  e4 e2 fe ff   andb   \-257,X
00049        anda   \[12,x\]             ; Indexed indirect \(16\-bit offset\)
00050   2d:  a4 e3 00 0c   anda   \[12,X\]
00051        ldaa   \[257,y\]
00052   31:  a6 eb 01 01   ldaa   \[257,Y\]
00053        ldab   \[32767,sp\]
00054   35:  e6 f3 7f ff   ldab   \[32767,SP\]
00055        ldd    \[32768,pc\]
00056   39:  ec fb 80 00   ldd    \[32768,PC\]
00057        ldd    L1,pc
00058   3d:  ec f9 c9      ldd    -55,PC \{9 <L1>\}
00059        std    a,x           ; Two\-reg index
00060   40:  6c e4         std    A,X
00061        ldx    b,x
00062   42:  ee e5         ldx    B,X
00063        stx    d,y
00064   44:  6e ee         stx    D,Y
00065        addd   1,\+x         ; Pre\-Auto inc
00066   46:  e3 20         addd   1,\+X
00067        addd   2,\+x
00068   48:  e3 21         addd   2,\+X
00069        addd   8,\+x
00070   4a:  e3 27         addd   8,\+X
00071        addd   1,sp\+        ; Post\-Auto inc
00072   4c:  e3 b0         addd   1,SP\+
00073        addd   2,sp\+
00074   4e:  e3 b1         addd   2,SP\+
00075        addd   8,sp\+
00076   50:  e3 b7         addd   8,SP\+
00077        subd   1,\-y         ; Pre\-Auto dec
00078   52:  a3 6f         subd   1,\-Y
00079        subd   2,\-y
00080   54:  a3 6e         subd   2,\-Y
00081        subd   8,\-y
00082   56:  a3 68         subd   8,\-Y
00083        addd   1,y\-         ; Post\-Auto dec
00084   58:  e3 7f         addd   1,Y\-
00085        addd   2,y\-
00086   5a:  e3 7e         addd   2,Y\-
00087        addd   8,y\-
00088   5c:  e3 78         addd   8,Y\-
00089        std    \[d,x\]              ; Indexed indirect with two reg index
00090   5e:  6c e7         std    \[D,X\]
00091        std    \[d,y\]
00092   60:  6c ef         std    \[D,Y\]
00093        std    \[d,sp\]
00094   62:  6c f7         std    \[D,SP\]
00095        std    \[d,pc\]
00096   64:  6c ff         std    \[D,PC\]
00097        beq    L1
00098   66:  27 a1         beq    9 <L1>
00099        lbeq   start
00100   68:  18 27 ff 94   lbeq   0 <start>
00101        lbcc   L2
00102   6c:  18 24 00 4c   lbcc   bc <L2>
00103 ;;
00104 ;; Move insn with various operands
00105 ;; 
00106        movb   start, 1,x
00107   70:  18 09 01 00   movb   0 <start>, 1,X
00108   74:  00 
00109        movw   1,x, start
00110   75:  18 05 01 00   movw   1,X, 0 <start>
00111   79:  00 
00112        movb   start, 1,\+x
00113   7a:  18 09 20 00   movb   0 <start>, 1,\+X
00114   7e:  00 
00115        movb   start, 1,\-x
00116   7f:  18 09 2f 00   movb   0 <start>, 1,\-X
00117   83:  00 
00118        movb   #23, 1,\-sp
00119   84:  18 08 af 17   movb   #23, 1,\-SP
00120        movb   L1, L2
00121   88:  18 0c 00 00   movb   0 <start>, 0 <start>
00122   8c:  00 00 
00123        movb   L1, a,x
00124   8e:  18 09 e4 00   movb   0 <start>, A,X
00125   92:  00 
00126        movw   L1, b,x
00127   93:  18 01 e5 00   movw   0 <start>, B,X
00128   97:  00 
00129        movw   L1, d,x
00130   98:  18 01 e6 00   movw   0 <start>, D,X
00131   9c:  00 
00132        movw   d,x, a,x
00133   9d:  18 02 e6 e4   movw   D,X, A,X
00134        movw   b,sp, d,pc
00135   a1:  18 02 f5 fe   movw   B,SP, D,PC
00136        movw   b,sp, L1
00137   a5:  18 05 f5 00   movw   B,SP, 0 <start>
00138   a9:  00 
00139        movw   b,sp, 1,x
00140   aa:  18 02 f5 01   movw   B,SP, 1,X
00141        movw   d,x, a,y
00142   ae:  18 02 e6 ec   movw   D,X, A,Y
00143        trap   #0x30
00144   b2:  18 30         trap   #48
00145        trap   #0x39
00146   b4:  18 39         trap   #57
00147        trap   #0x40
00148   b6:  18 40         trap   #64
00149        trap   #0x80
00150   b8:  18 80         trap   #128
00151        trap   #255
00152   ba:  18 ff         trap   #255
00153 
00154 0+bc <L2>:
00155 L2:    
00156        movw 1,x,2,x
00157   bc:  18 02 01 02   movw   1,X, 2,X
00158        movw \-1,\-1
00159   c0:  18 04 ff ff   movw   ffff <bb\+0xd7ff>, ffff <bb\+0xd7ff>
00160   c4:  ff ff 
00161        movw \-1,1,x
00162   c6:  18 01 01 ff   movw   ffff <bb\+0xd7ff>, 1,X
00163   ca:  ff 
00164        movw #\-1,1,x
00165   cb:  18 00 01 ff   movw   #ffff <bb\+0xd7ff>, 1,X
00166   cf:  ff 
00167        movw 3,8
00168   d0:  18 04 00 03   movw   3 <start\+0x3>, 8 <start\+0x8>
00169   d4:  00 08 
00170        movw #3,3
00171   d6:  18 03 00 03   movw   #3 <start\+0x3>, 3 <start\+0x3>
00172   da:  00 03 
00173        movw #3,1,x
00174   dc:  18 00 01 00   movw   #3 <start\+0x3>, 1,X
00175   e0:  03 
00176        movw 3,1,x
00177   e1:  18 01 01 00   movw   3 <start\+0x3>, 1,X
00178   e5:  03 
00179        movw 3,\+2,x
00180   e6:  18 01 02 00   movw   3 <start\+0x3>, 2,X
00181   ea:  03 
00182        movw 4,\-2,x
00183   eb:  18 01 1e 00   movw   4 <start\+0x4>, \-2,X
00184   ef:  04 
00185        rts
00186   f0:  3d            rts
00187 
00188 0+f1 <post_indexed_pb>:
00189 ;;
00190 ;; Post\-index byte with relocation
00191 ;; 
00192 post_indexed_pb:
00193 t1:
00194        leas   abort,x
00195   f1:  1b e2 00 00   leas   0,X
00196 
00197 0+f5 <t2>:
00198 t2:
00199        leax   t2\-t1,y
00200   f5:  1a 44         leax   4,Y
00201        leax   toto,x
00202   f7:  1a e0 64      leax   100,X
00203        leas   toto\+titi,sp
00204   fa:  1b f0 6e      leas   110,SP
00205        leay   titi,x
00206   fd:  19 0a         leay   10,X
00207        leas   bb,y
00208   ff:  1b ea 28 00   leas   10240,Y
00209        leas   min5b,pc
00210  103:  1b d0         leas   -16,PC \{f5 <t2>\}
00211        leas   max5b,pc
00212  105:  1b cf         leas   15,PC \{116 <t2\+0x21>\}
00213        leas   min9b,pc
00214  107:  1b fa ff 00   leas   -256,PC \{b <L1\+0x2>\}
00215        leas   max9b,pc
00216  10b:  1b f8 ff      leas   255,PC \{20d <L0\+0xd9>\}
00217 
00218 ;;
00219 ;; Disassembler bug with movb
00220 ;;
00221        movb   #23,0x2345
00222  10e:  18 0b 17 23   movb   #23, 2345 <L0\+0x2211>
00223  112:  45 
00224        movb   #40,12,sp
00225  113:  18 08 8c 28   movb   #40, 12,SP
00226        movb   #39,3,\+sp
00227  117:  18 08 a2 27   movb   #39, 3,\+SP
00228        movb   #20,14,sp
00229  11b:  18 08 8e 14   movb   #20, 14,SP
00230        movw   #0x3210,0x3456
00231  11f:  18 03 32 10   movw   #3210 <bb\+0xa10>, 3456 <bb\+0xc56>
00232  123:  34 56 
00233        movw   #0x4040,12,sp
00234  125:  18 00 8c 40   movw   #4040 <bb\+0x1840>, 12,SP
00235  129:  40 
00236        movw   #0x3900,3,\+sp
00237  12a:  18 00 a2 39   movw   #3900 <bb\+0x1100>, 3,\+SP
00238  12e:  00 
00239        movw   #0x2000,14,sp
00240  12f:  18 00 8e 20   movw   #2000 <L0\+0x1ecc>, 14,SP
00241  133:  00