AT&T汇编语言语法-1.Register Reference~7. Call and Jump

AT&T汇编语言语法

1.Register Reference
 引用寄存器要在寄存器号前加百分号%,如“movl %eax, %ebx”。
 80386 有如下寄存器:
[1] 8 个32-bit 寄存器 %eax,%ebx,%ecx,%edx,%edi,%esi,%ebp,%esp;
( 8 个16-bit 寄存器,它们事实上是上面8 个32-bit 寄存器的低16 位:%ax,%bx,
%cx,%dx,%di,%si,%bp,%sp;
 8 个8-bit 寄存器:%ah,%al,%bh,%bl,%ch,%cl,%dh,%dl。它们事实上
是寄存器%ax,%bx,%cx,%dx 的高8 位和低8 位;)
[2] 6 个段寄存器:%cs(code),%ds(data),%ss(stack), %es,%fs,%gs;
[3] 3 个控制寄存器:%cr0,%cr2,%cr3;
[4] 6 个debug 寄存器:%db0,%db1,%db2,%db3,%db6,%db7;
[5] 2 个测试寄存器:%tr6,%tr7;
[6] 8 个浮点寄存器栈:%st(0),%st(1),%st(2),%st(3),%st(4),

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
本书为 TNT DOS-Extender 8.0 的参考手册之一。 386|ASM Reference Manual (386|ASM 宏汇编参考工具) Phar Lap 的宏汇编语言的 x86 系列微处理器的技术参考书。 ---------------------------------------------------------- 欢迎使用 TNT DOS-Extender 和 TNT Realtime DOS-Extender,这是 Phar Lap 的最新的那个年代曾经屡获殊荣 DOS 扩展器技术! 这个产品为运行在 MS-DOS 或 PC-DOS 的程序提供了32位 x86 保护模式运行环境。 TNT Realtime DOS-Extender 支持DOS下多线程序的运行时程序。 TNT DOS-Extender Reference Manual 参考手册详细介绍了应用程序需要的保护模式环境。 System Requirements 386, 486, Pentium 或更高处理器 2 MB 扩展内存 10 MB 剩余硬盘空间 MS-DOS 3.0 或以上版本 32-bit C/C++编译链接工具,可使用 Borland C++、Visual C++、Watcom C/C++、Open Watcom C/C++(推荐)等32位编译工具 TNT DOS-Extender 可以使用下面的编译和链接工具的组合: Microsoft Visual C/C++ for Windows and Windows NT, 32位版本编译器和链接器 (CL and LINK) Microsoft Visual C/C++ for Windows and Windows NT, 32版本编译器和Phar Lap连接器(TNT链接器) (CL and 386LINK) MetaWare High C/C++ 编译器和Phar Lap连接器(TNT链接器) (HC386 and 386LINK) Open-Watcom C/C++32 编译器和Phar Lap连接器(TNT链接器) (WCC386 and 386LINK) TNT DOS-Extender 包括下面的文档 TNT DOS-Extender Reference Manual(参考手册) 保护模式环境详细介绍(各种参数)、编程介绍 C/C++ User’s Guide to TNT DOS-Extender (用户指南) A tutorial style guide to developing C and C++ programs for TNT DOS-Extender, including instructions for building programs using the Microsoft Visual C/C++ for Windows and Windows NT, 32-bit Edition compiler, the MetaWare High C/C++ compiler, and the WATCOM C/C++32 compiler. Libraries and System Calls Reference (库和系统调用参考) Complete documentation on the C-callable TNT DOS-Extender system calls in DOSX32.LIB, the C-callable MS-DOS and BIOS system calls in DOS32.LIB, the C-callable NtStyle Win32 API subset, and the register-based software interrupt interface for TNT DOS-Extender, MS-DOS, and BIOS system calls. Utilities Reference Manual (工具参考手册) A reference on the utility programs included with the TNT DOS-Extender SDK, including: the 386|LINK linker; the 386|LIB librarian; the REBIND binder utility program; the PLSTRIP symbol table strip utility; the CFIG386 configuration utility; the MAPEXE executable file dump program; and t

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值