bn8086.c
上传用户:zbbssh
上传日期:2007-01-08
资源大小:196k
文件大小:0k
源码类别:

CA认证

开发平台:

C/C++

  1. /*
  2.  * bn8086.c - bnInit() for Intel x86 family in 16-bit mode.
  3.  *
  4.  * Written in 1995 by Colin Plumb.  I'm not going to embarass myself
  5.  * by claiming copyright on something this trivial.
  6.  */
  7. #include "lbn.h"
  8. #include "bn16.h"
  9. #include "bn32.h"
  10. #ifndef BNINCLUDE
  11. #error You must define BNINCLUDE to lbn8086.h to use assembly primitives.
  12. #endif
  13. void
  14. bnInit(void)
  15. {
  16. if (not386())
  17. bnInit_16();
  18. else
  19. bnInit_32();
  20. }