Leaked source code of windows server 2003
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.

145 lines
2.8 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. miscfns.h
  5. Abstract:
  6. Prototypes for miscellaneous instructions.
  7. Author:
  8. 06-Jun-1995 BarryBo, Created
  9. Revision History:
  10. --*/
  11. #ifndef MISCFNS_H
  12. #define MISCFNS_H
  13. DISPATCH(ProcessPrefixes);
  14. DISPATCH(bad);
  15. DISPATCH(privileged);
  16. DISPATCH(push_es);
  17. DISPATCH(pop_es);
  18. DISPATCH(push_cs);
  19. DISPATCH(aas);
  20. DISPATCH(push_ss);
  21. DISPATCH(pop_ss);
  22. DISPATCH(push_ds);
  23. DISPATCH(pop_ds);
  24. DISPATCH(daa);
  25. DISPATCH(das);
  26. DISPATCH(aaa);
  27. DISPATCH(push_iw);
  28. DISPATCH(imul_rw_mw);
  29. DISPATCH(push_ibs);
  30. DISPATCH(imul_rw_m_iw16);
  31. DISPATCH(imul_rw_m_iw32);
  32. DISPATCH(imul_rw_m_ib16);
  33. DISPATCH(imul_rw_m_ib32);
  34. DISPATCH(GROUP_1WS);
  35. DISPATCH(mov_rw_mw);
  36. DISPATCH(mov_mw_seg);
  37. DISPATCH(lea_rw_mw);
  38. DISPATCH(mov_seg_mw);
  39. DISPATCH(pop_mw);
  40. DISPATCH(nop);
  41. DISPATCH(call_md);
  42. DISPATCH(sahf);
  43. DISPATCH(lahf);
  44. DISPATCH(movsb);
  45. DISPATCH(movsw);
  46. DISPATCH(cmpsb);
  47. DISPATCH(cmpsw);
  48. DISPATCH(stosb);
  49. DISPATCH(stosw);
  50. DISPATCH(lodsb);
  51. DISPATCH(lodsw);
  52. DISPATCH(scasb);
  53. DISPATCH(scasw);
  54. DISPATCH(mov_ah_ib);
  55. DISPATCH(mov_ch_ib);
  56. DISPATCH(mov_dh_ib);
  57. DISPATCH(mov_bh_ib);
  58. DISPATCH(mov_sp_iw);
  59. DISPATCH(mov_bp_iw);
  60. DISPATCH(mov_si_iw);
  61. DISPATCH(mov_di_iw);
  62. DISPATCH(retn_iw);
  63. DISPATCH(retn);
  64. DISPATCH(enter_iw_ib);
  65. DISPATCH(leaveX); // 'leave' is already defined on PPC
  66. DISPATCH(int3);
  67. DISPATCH(int_ib);
  68. DISPATCH(into);
  69. DISPATCH(iret);
  70. DISPATCH(aam_ib);
  71. DISPATCH(aad_ib);
  72. DISPATCH(xlat);
  73. DISPATCH(FLOAT_INSTR);
  74. DISPATCH(loopne_b);
  75. DISPATCH(loope_b);
  76. DISPATCH(loop_b);
  77. DISPATCH(jcxz_b);
  78. DISPATCH(jmpf_md);
  79. DISPATCH(jmp_jb);
  80. DISPATCH(cmc);
  81. DISPATCH(clc);
  82. DISPATCH(stc);
  83. DISPATCH(cld);
  84. DISPATCH(std);
  85. DISPATCH(GROUP_4);
  86. DISPATCH(GROUP_5);
  87. DISPATCH(GROUP_6);
  88. DISPATCH(GROUP_7);
  89. DISPATCH(GROUP_8);
  90. DISPATCH(seto_modrmb);
  91. DISPATCH(setno_modrmb);
  92. DISPATCH(setb_modrmb);
  93. DISPATCH(setae_modrmb);
  94. DISPATCH(sete_modrmb);
  95. DISPATCH(setne_modrmb);
  96. DISPATCH(setbe_modrmb);
  97. DISPATCH(seta_modrmb);
  98. DISPATCH(sets_modrmb);
  99. DISPATCH(setns_modrmb);
  100. DISPATCH(setp_modrmb);
  101. DISPATCH(setnp_modrmb);
  102. DISPATCH(setl_modrmb);
  103. DISPATCH(setge_modrmb);
  104. DISPATCH(setle_modrmb);
  105. DISPATCH(setg_modrmb);
  106. DISPATCH(push_fs);
  107. DISPATCH(pop_fs);
  108. DISPATCH(bt_modrmw_regw);
  109. DISPATCH(push_gs);
  110. DISPATCH(pop_gs);
  111. DISPATCH(imul_regw_modrmw16);
  112. DISPATCH(imul_regw_modrmw32);
  113. DISPATCH(btr_modrmw_regw);
  114. DISPATCH(movzx_regb_modrmb);
  115. DISPATCH(movzx_regw_modrmw);
  116. DISPATCH(btc_modrmw_regw);
  117. DISPATCH(movsx_regb_modrmb);
  118. DISPATCH(movsx_regw_modrmw);
  119. DISPATCH(wait);
  120. DISPATCH(bswap_eax);
  121. DISPATCH(bswap_ebx);
  122. DISPATCH(bswap_ecx);
  123. DISPATCH(bswap_edx);
  124. DISPATCH(bswap_esp);
  125. DISPATCH(bswap_ebp);
  126. DISPATCH(bswap_esi);
  127. DISPATCH(bswap_edi);
  128. DISPATCH(arpl);
  129. DISPATCH(cpuid);
  130. DISPATCH(cmpxchg8b);
  131. DISPATCH(LOCKcmpxchg8b);
  132. DISPATCH(rdtsc);
  133. #endif //MISCFNS_H