a=disassOpcode('\xe8\x60\xa6\xff\xff',0x8044444)            # call          0x804ebaf               4
b=disassOpcode('\xe8\x00\x00\x00\x00',0x8044444)            # call          0x804921b               4
c=disassOpcode('\x74\x0c',0x8044444)                        # jz            0x804eba0               102:1
d=disassOpcode('\xa1\x48\x13\x05\x08',0x8044444)            # mov           0x8051348, %eax         102:1
e=disassOpcode('\xbb\x48\x13\x05\x08',0x8044444)            # mov           $0x8051348, %ebx        1
f=disassOpcode('\x39\x7d\xf0',0x8044444)                    # cmp           %edi, 0xfffffff0(%ebp)  :1
g=disassOpcode('\xc7\x45\xd0\x00\x00\x00\x00',0x8044444)    # movl          $0x0, 0xffffffd0(%ebp)  2:1
h=disassOpcode('\xc7\x44\x24\x04\x64\xf6\x04\x08',0x8044444)# movl          $0x804f664, 0x4(%esp,1)


y = [a,b,c,d,e,f,g]

for x in y:
  print x
  if x.opobj.source:  print "s:%x"%(x.opobj.source.type & 0x0ffff)
  if x.opobj.dest:  print "d:%x"%(x.opobj.dest.type & 0x0ffff)


 8044444:       \xe8\x60\xa6\xff\xff            call          0x803eaa4
s:4
 8044444:       \xe8\x00\x00\x00\x00            call          0x8044444
s:4
 8044444:       \x74\x0c                        jz            0x8044450
s:4
 8044444:       \xa1\x48\x13\x05\x08            mov           0x8051348, %eax
s:102
d:1
 8044444:       \xbb\x48\x13\x05\x08            mov           $0x8051348, %ebx
s:102
d:1
 8044444:       \x39\x7d\xf0                    cmp           %edi, 0xfffffff0(%ebp)
s:1
d:1
 8044444:       \xc7\x45\xd0\x00\x00\x00\x00    movl          $0x0, 0xffffffd0(%ebp)
s:2
d:1




latest libdisassemble:
 804e203:       \xd1\xea\x8d\x14\x52\x39                shr           $0x3952148d, %edx ;  Global_2_3952148d
 804e209:       \xd7                                    xlat
 804e20a:       \x74\x2c                                jz            0x804e236         ; jz     (local)  :+deadbeef:

objdump-based disass-ng:
804e203:        d1 ea                   shr    %edx
804e205:        8d 14 52                lea    (%edx,%edx,2),%edx
804e208:        39 d7                   cmp    %edx,%edi
804e20a:        74 2c                   je     804e238 <fts_open+0xef8>                          je  +00002E    (local)


modrm/sib is getting dorked here:  ndisasm agrees that this should not be scale of "2"
0f0064646464646464:          verr          0x64(%esp,2)                 verr 0x64(%esp)
0f00a4a4a4a4a4a4a4:          verr          0xa4a4a4a4(%esp,4)                   verr 0xa4a4a4a4(%esp)




from disass3.local.disassemble import *
o=Opcode('\x0f\x10\x24\x24\x24\x24\x24\x24\x24')
o.printOpcode("AT&T")
