中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 14:20
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » DOS tidbit -- Initial values of internal registers in a COM file
Printable Version  1,601 / 1
Floor1 ko20010214 Posted 2002-10-22 00:00
版主 Posts 1,628 Credits 7,296
Initial values of internal registers in a COM file
1. CS, ES, PS, and SS all point to the PSP+0H field.
2. IP points to the PSP+100H field.
3. SP points to FFFFH; if the available memory is not 64K, it points to "current available memory byte count - 2"
4. The word at the top of the stack contains 0000H
5. CX contains the length of the COM file.
Floor2 《电脑爱好 Posted 2004-03-28 00:00
高级用户 Posts 270 Credits 693
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023