⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 biport.h

📁 C语言库函数的源代码,是C语言学习参考的好文档。
💻 H
字号:
/* +++Date last modified: 05-Jul-1997 */

/*
**  BIPORT.H - Port TC/TC++/BC++ code using register pseudovariables
**
**  public domain by Bob Stout
*/

#ifndef __TURBOC__

#ifndef BIPORT__H
#define BIPORT__H

#include <dos.h>
#include "dirport.h"

extern union  REGS  BIP_regs_;
extern struct SREGS BIP_sregs_;

#define _AX BIP_regs_.x.ax
#define _BX BIP_regs_.x.bx
#define _CX BIP_regs_.x.cx
#define _DX BIP_regs_.x.dx
#define _AH BIP_regs_.h.ah
#define _AL BIP_regs_.h.al
#define _BH BIP_regs_.h.ah
#define _BL BIP_regs_.h.al
#define _CH BIP_regs_.h.ah
#define _CL BIP_regs_.h.al
#define _DH BIP_regs_.h.ah
#define _DL BIP_regs_.h.al
#define _SI BIP_regs_.x.si
#define _DI BIP_regs_.x.di
#define _CF BIP_regs_.x.cflag
#define _FF BIP_regs_.x.flags
#define _ES BIP_sregs_.es
#define _CS BIP_sregs_.cs
#define _SS BIP_sregs_.ss
#define _DS BIP_sregs_.ds
#define regload_() segread(&BIP_sregs_)

#ifndef geninterrupt
 unsigned PASCAL geninterrupt(int);
#endif

#endif /* BIPORT__H */

#endif /* __TURBOC__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -