计算机系统I 第五章
* * * If all zero, no CC is tested, so branch is never taken. (See Appendix B.) If all one, then all are tested. Since at least one of the CC bits is set to one after each operate/load instruction, then branch is always taken. (Assumes some instruction has set CC before branch instruction, otherwise undefined.) * * * * * * * 应用-discussion 5-* 1 判断 r0的值是否为5, 等于5则跳转。 判断R0的值5,=5,5 ,=跳转 判断R0的值40跳转 比较R0,R1是否相等跳转 5-* 跳转指令的应用:循环控制 计算12个整数的和:整数存放的起始地址:x3100. 程序起始地址: x3000。 R1 ? x3100R3 ? 0R2 ? 12 R2=0? R4 ? M[R1]R3 ? R3+R4R1 ? R1+1 R2 ? R2-1 NO YES 5-* Sample Program Address Instruction Comm
您可能关注的文档
最近下载
- 2026年第32个全国肿瘤防治宣传周暨中国抗癌日——肿瘤防治赢在整合.pptx VIP
- 口才6-8岁PPT课件教学课件.pptx VIP
- TBT30004-2021 铁路货物装载加固技术要求.pdf VIP
- 内外墙抹灰工程施工质量技术交底.doc VIP
- 国家义务教育质量监测小学四年级美术国测模拟测试题53道.docx VIP
- 电子专用设备装调工操作考核试卷及答案.docx VIP
- 工字钢受力分析计算.xls VIP
- (二模) 杭州市2026届高三教学质量检测技术试题卷(含标准答案).pdf
- 中考英语词性转换汇总表(完整版260组).pdf VIP
- 山东省沂南县卧龙学校2023-2024学年七年级上学期日语期中模拟.docx VIP
原创力文档

文档评论(0)