/[dynamips]/upstream/dynamips-0.2.7-RC2/x86-codegen.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /upstream/dynamips-0.2.7-RC2/x86-codegen.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/dynamips-0.2.7-RC1/x86-codegen.h revision 7 by dpavlin, Sat Oct 6 16:23:47 2007 UTC upstream/dynamips-0.2.7-RC2/x86-codegen.h revision 8 by dpavlin, Sat Oct 6 16:24:54 2007 UTC
# Line 1075  typedef union { Line 1075  typedef union {
1075                  x86_memindex_emit ((inst), (dreg), (basereg), (disp), (indexreg), (shift));     \                  x86_memindex_emit ((inst), (dreg), (basereg), (disp), (indexreg), (shift));     \
1076          } while (0)          } while (0)
1077    
1078    #define x86_lahf(inst)  do { *(inst)++ = (unsigned char)0x9f; } while (0)
1079    #define x86_sahf(inst)  do { *(inst)++ = (unsigned char)0x9e; } while (0)
1080    #define x86_xchg_ah_al(inst) \
1081           do { \
1082                    *(inst)++ = (unsigned char)0x86; \
1083                    *(inst)++ = (unsigned char)0xe0; \
1084           } while (0)
1085    
1086    
1087  #define x86_cdq(inst)  do { *(inst)++ = (unsigned char)0x99; } while (0)  #define x86_cdq(inst)  do { *(inst)++ = (unsigned char)0x99; } while (0)
1088  #define x86_wait(inst) do { *(inst)++ = (unsigned char)0x9b; } while (0)  #define x86_wait(inst) do { *(inst)++ = (unsigned char)0x9b; } while (0)
1089    

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26