asmSimnt.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* asm.h - vxSim for Windows assembler definitions header file */
  2. /* Copyright 1984-1993 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,29apr98,cym  written based on x86 version.
  7. */
  8. #ifndef __INCasmI86h
  9. #define __INCasmI86h
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /* fp offsets to arguments */
  14. #define ARG1 8
  15. #define ARG1W 10
  16. #define ARG2 12
  17. #define ARG2W 14
  18. #define ARG3 16
  19. #define ARG3W 18
  20. #define ARG4 20
  21. #define ARG5 24
  22. #define ARG6 28
  23. #define ARG7 32
  24. #define DARG1 8 /* double arguments */
  25. #define DARG1L 12
  26. #define DARG2 16
  27. #define DARG2L 20
  28. #define DARG3 24
  29. #define DARG3L 28
  30. #define DARG4 32
  31. #define DARG4L 36
  32. /* sp offsets to arguments */
  33. #define SP_ARG1 4
  34. #define SP_ARG1W 6
  35. #define SP_ARG2 8
  36. #define SP_ARG2W 10
  37. #define SP_ARG3 12
  38. #define SP_ARG3W 14
  39. #define SP_ARG4 16
  40. #define SP_ARG5 20
  41. #define SP_ARG6 24
  42. #define SP_ARG7 28
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif /* __INCasmI86h */