<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[请教D2和的D12里的值是负数、零]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160.html]]></link>
 <description><![CDATA[Latest 50 replies of 请教D2和的D12里的值是负数、零]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Sun, 12 Apr 2026 04:12:33 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[工控人家园]]></title>
 <link><![CDATA[http://www.ymmfa.com]]></link>
 <description><![CDATA[工控人家园]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[地址重叠，要用32位的，]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1425831.html]]></link>
 <author><![CDATA[dudafei]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 31 Mar 2013 09:38:53 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[学习了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1425787.html]]></link>
 <author><![CDATA[yjhdlp]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 31 Mar 2013 07:38:59 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[谢谢大家了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1425488.html]]></link>
 <author><![CDATA[gpp0603]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sat, 30 Mar 2013 12:17:32 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[这样改就对了：
MOV K8192 D0
MOV K1 D1
MUL D0 D1 D2
DSUB D2 K1 D10
DDIV D10 K4 D12

MUL后的值是32位的，保存在D2和D3中，所以想用这个值去代入运算，必须加D，DSUB D2 K1 D10 等于（D3,D2)--1 =D10
这样才对，另外D10也是32位的，所以下面应该是DDIV 才能计算正确。这个比较特殊，一个带符号的16位显示的范围是+/-32 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424924.html]]></link>
 <author><![CDATA[dongguansae]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 29 Mar 2013 03:59:32 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[楼主没意识到32位指令用D前缀]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424878.html]]></link>
 <author><![CDATA[lplvpeng]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 29 Mar 2013 01:59:11 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[两D相MUL，那存结果一定是32位的，D1,D2全都是16位的啊，所以：
DMOV&nbsp;&nbsp;K8192&nbsp;&nbsp;D0 (D1被占用)
DMOV&nbsp;&nbsp;K4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D2（D3被占用）
DMUL D0&nbsp;&nbsp;&nbsp;&nbsp;D2&nbsp;&nbsp;&nbsp;&nbsp;D4 （D5被占用）
DSUB&nbsp;&nbsp;D4&nbsp;&nbsp; K1&nb ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424833.html]]></link>
 <author><![CDATA[ymr78419972]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 29 Mar 2013 00:55:11 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[怎样将MUL D0 D1 D2中的值读出来]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424782.html]]></link>
 <author><![CDATA[gpp0603]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 28 Mar 2013 14:44:36 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[超出范围了，你改用32位，并把存储器地址间隔两位以上]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424567.html]]></link>
 <author><![CDATA[wzhw80808]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 28 Mar 2013 04:38:58 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第3楼木皮于2013-03-28 08:21发表的&nbsp;&nbsp;:
超出范围了，你改用32位，并把存储器地址间隔两位以上
[/quote]
同意5楼
8192*4的结果超范围了，结果是个32位的把最后一步改成32位的运算]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424566.html]]></link>
 <author><![CDATA[天空流星]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 28 Mar 2013 04:32:23 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[超出范围了，你改用32位，并把存储器地址间隔两位以上]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424456.html]]></link>
 <author><![CDATA[木皮]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 28 Mar 2013 00:21:54 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[那就是无法运算了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424451.html]]></link>
 <author><![CDATA[gpp0603]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 27 Mar 2013 23:53:28 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[MUL D0&nbsp;&nbsp;&nbsp;&nbsp;D1&nbsp;&nbsp;&nbsp;&nbsp;D2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;占用D2 D3
SUB&nbsp;&nbsp;D2&nbsp;&nbsp; K1&nbsp;&nbsp;&nbsp;&nbsp;D10
DIV&nbsp;&nbsp;&nbsp;&nbsp;D10&nbsp;&nbsp;K4&nbsp;&nbsp; D12

地址重叠!]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1423160#1424450.html]]></link>
 <author><![CDATA[tkggtdkjpl]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 27 Mar 2013 23:45:49 +0000]]></pubdate>
</item>
</channel></rss>