Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
460 B

  1. s/^if\(.*ersion.*510\)/if 1 ; \1/p
  2. s/\.model/; .model/p
  3. s/USE32/USE16/p
  4. s/NEAR/FAR/p
  5. s/\[ebp/\[bp/
  6. s/^FLAT/; FLAT/p
  7. s/FLAT/NOTHING/p
  8. s/\(push.\)\([0-9][0-9]*\)/\1dword ptr \2/p
  9. s/^\(EXTRN.*_GetAppCompatFlags@4:\)/; \1/p
  10. s/\(rep.movs\)d$/\1 dword ptr [edi], dword ptr [esi]/p
  11. s/\(rep.movs\)b$/\1 byte ptr [edi], byte ptr [esi]/p
  12. s/\(rep[a-z]*.scas\)b$/\1 byte ptr [edi]/p
  13. s/\(EXTRN.*_wow16.*DWORD\)/; \1/p
  14. s/leave$/ db 066h, 0c9h ; 32 bit prefix + 'leave'/p