📄 segread.gml
字号:
.func segread
#include <i86.h>
void segread( struct SREGS *seg_regs );
.funcend
.desc begin
The &func function places the values of the segment registers into
the structure located by
.arg seg_regs.
.desc end
.return begin
No value is returned.
.return end
.see begin
.seelist segread FP_OFF FP_SEG MK_FP
.see end
.exmp begin
#include <stdio.h>
#include <i86.h>
void main()
{
struct SREGS sregs;
.exmp break
segread( &sregs );
printf( "Current value of CS is %04X\n", sregs.cs );
}
.exmp end
.class WATCOM
.system
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -