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.

51 lines
1.0 KiB

  1. /* asmtab.h -- include file for microsoft 80x86 assembler
  2. **
  3. ** microsoft (r) macro assembler
  4. ** copyright (c) microsoft corp 1986. all rights reserved
  5. **
  6. ** randy nevin
  7. */
  8. #define NOTFOUND ((USHORT)-1)
  9. #define KEYWORDS struct s_ktab
  10. #define KEYSYM struct s_key
  11. struct segp {
  12. USHORT index;
  13. char type;
  14. };
  15. struct opcentry {
  16. UCHAR opcb;
  17. UCHAR mr;
  18. char opct;
  19. char cpumask;
  20. };
  21. /* masks and flags to extract operand reference types */
  22. #define F_W 0x40 /* first operand is write */
  23. #define S_W 0x20 /* second operand is write */
  24. struct pseudo {
  25. char type;
  26. char kind;
  27. };
  28. KEYWORDS {
  29. KEYSYM FARSYM * FARSYM *kt_table; /* ptr to hash table */
  30. int kt_size; /* size of hash table */
  31. };
  32. KEYSYM {
  33. KEYSYM FARSYM *k_next; /* pointer to next ident */
  34. char FARSYM *k_name; /* pointer to name */
  35. USHORT k_hash; /* actual hash value */
  36. USHORT k_token; /* token type. note more than 255 opcodes */
  37. };
  38. USHORT CODESIZE iskey PARMS((struct s_ktab FAR *));