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

📄 aam.htm

📁 Programmer s Reference Manual is an improtant book on Intel processor architecture and programming.
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><HTML><HEAD><TITLE>80386 Programmer's Reference Manual -- Opcode AAM</TITLE></HEAD><BODY><B>up:</B> <A HREF="c17.htm">Chapter 17 -- 80386 Instruction Set</A><BR><B>prev:</B><A HREF="AAD.htm"> AAD ASCII Adjust AX before Division</A><BR><B>next:</B><A HREF="AAS.htm"> AAS ASCII Adjust AL after Subtraction</A><P><HR><P><H1>AAM -- ASCII Adjust AX after Multiply</H1><PRE>Opcode    Instruction    Clocks    DescriptionD4 0A     AAM            17        ASCII adjust AX after multiply</PRE><H2>Operation</H2><PRE>AH := AL / 10;AL := AL MOD 10;</PRE><H2>Description</H2>Execute AAM only after executing a <A HREF="MUL.htm">MUL</A> instruction between two unpackedBCD digits that leaves the result in the AX register. Because the result isless than 100, it is contained entirely in the AL register. AAM unpacks theAL result by dividing AL by 10, leaving the quotient (most-significantdigit) in AH and the remainder (least-significant digit) in AL.<H2>Flags Affected</H2>SF, ZF, and PF as described in <A HREF="appc.htm">Appendix C</A>; OF, AF, and CF are undefined<H2>Protected Mode Exceptions</H2>None<H2>Real Address Mode Exceptions</H2>None<H2>Virtual 8086 Mode Exceptions</H2>None<P><HR><P><B>up:</B> <A HREF="c17.htm">Chapter 17 -- 80386 Instruction Set</A><BR><B>prev:</B><A HREF="AAD.htm"> AAD ASCII Adjust AX before Division</A><BR><B>next:</B><A HREF="AAS.htm"> AAS ASCII Adjust AL after Subtraction</A></BODY>

⌨️ 快捷键说明

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