继续问这个问题,有人会吗?
[em01]ADDAB (.unit) src2, src1, dst
src1 is added to src2 using the byte addressing
mode specified for src2. The addition defaults to linear mode. However, if src2
is one of A4−A7 or B4−B7, the mode can be changed to circular mode by
writing the appropriate value to the AMR .The
result is placed in dst.
AMR:
1−0 A4 MODE 0−3h Address mode selection for register file A4.
0 Linear modification (default at reset)
1h Circular addressing using the BK0 field
2h Circular addressing using the BK1 field
3h Reserved
ADDAB .D1 A4,A2,A4
ADDAB (.unit) src2, src1, dst
src1 is added to src2 using the byte addressing
mode specified for src2. The addition defaults to linear mode. However, if src2
is one of A4−A7 or B4−B7, the mode can be changed to circular mode by
writing the appropriate value to the AMR .The
result is placed in dst.
AMR:
1−0 A4 MODE 0−3h Address mode selection for register file A4.
0 Linear modification (default at reset)
1h Circular addressing using the BK0 field
2h Circular addressing using the BK1 field
3h Reserved
ADDAB .D1 A4,A2,A4
A2=0000000BH(A2[0-1]==3),src2==A4-->A4[0-1]=3,the mode changed...and the result is placed in dst(A4).in other words,if(src2==[A4-A7,B4-B7]){A4'[0-1]=A2[0-1];A4=A4';}
[此贴子已经被作者于2007-5-21 16:30:15编辑过]
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |