×

摩托罗拉M68000微处理器系列编程参考手册II

消耗积分:5 | 格式:rar | 大小:952 | 2009-06-26

分享资料个

Section 1 Introduction
1.1 Integer Unit User Programming Model . . . . . . 1-2
1.1.1 Data Registers (D7 – D0)  . . . . 1-2
1.1.2 Address Registers (A7 – A0)  . . 1-2
1.1.3 Program Counter   . . 1-3
1.1.4 Condition Code Register  . . . . . 1-3
1.2 Floating-Point Unit User Programming Model  1-4
1.2.1 Floating-Point Data Registers (FP7 – FP0)  . 1-4
1.2.2 Floating-Point Control Register (FPCR)  . . . 1-5
1.2.2.1 Exception Enable Byte . . . . . 1-5
1.2.2.2 Mode Control Byte . . . . . . . . 1-5
1.2.3 Floating-Point Status Register (FPSR)  . . . . 1-5
1.2.3.1 Floating-Point Condition Code Byte . . . . . 1-5
1.2.3.2 Quotient Byte  . . . 1-6
1.2.3.3 Exception Status Byte. . . . . . 1-6
1.2.3.4 Accrued Exception Byte . . . . 1-7
1.2.4 Floating-Point Instruction Address Register (FPIAR)  1-8
1.3 Supervisor Programming Model . 1-8
1.3.1 Address Register 7 (A7)  . . . . 1-10
1.3.2 Status Register   . . 1-10
1.3.3 Vector Base Register (VBR)  . 1-11
1.3.4 Alternate Function Code Registers (SFC and DFC)  1-11
1.3.5 Acu Status Register (MC68EC030 only)  . . 1-11
1.3.6 Transparent Translation/access Control Registers  . 1-12
1.3.6.1 Transparent Translation/access Control Register Fields for the
M68030  . . . 1-12
1.3.6.2 Transparent Translation/access Control Register Fields for the
M68040  . . . 1-13
1.4 Integer Data Formats  . . . . . . . . 1-14
1.5 Floating-Point Data Formats  . . 1-15
1.5.1 Packed Decimal Real Format  1-15
1.5.2 Binary Floating-Point Formats  1-16
1.6 Floating-Point Data Types  . . . . 1-17
1.6.1 Normalized Numbers . . . . . . . 1-18
1.6.2 Denormalized Numbers . . . . . 1-18
1.6.3 Zeros   . . . . . . 1-19
1.6.4 Infinities   . . . . 1-19
1.6.5 Not-A-Numbers   . . 1-19
1.6.6 Data Format and Type Summary  . . . . . . . 1-20
1.7 Organization of Data in Registers  . . . . . . . . 1-25
1.7.1 Organization of Integer Data Formats in Registers  . 1-25
1.7.2 Organization of Integer Data Formats in Memory  . . 1-27
1.7.3 Organization of Fpu Data Formats in Registers and Memory . . . . . . 1-30
Section 2 Addressing Capabilities
2.1 Instruction Format   . . 2-1
2.2 Effective Addressing Modes . . . . 2-4
2.2.1 Data Register Direct Mode  . . . 2-5
2.2.2 Address Register Direct Mode . 2-5
2.2.3 Address Register Indirect Mode   2-5
2.2.4 Address Register Indirect with Postincrement Mode . 2-6
2.2.5 Address Register Indirect with Predecrement Mode  . 2-7
2.2.6 Address Register Indirect with Displacement Mode  . 2-8
2.2.7 Address Register Indirect with Index (8-Bit Displacement) Mode . . . . 2-9
2.2.8 Address Register Indirect with Index (Base Displacement) Mode. . . 2-10
2.2.9 Memory Indirect Postindexed Mode  . . . . . 2-11
2.2.10 Memory Indirect Preindexed Mode  . . . . . . 2-12
2.2.11 Program Counter Indirect with Displacement Mode  2-13
2.2.12 Program Counter Indirect with Index (8-Bit Displacement) Mode . . . 2-14
2.2.13 Program Counter Indirect with Index (Base Displacement) Mode. . . 2-15
2.2.14 Program Counter Memory Indirect Postindexed Mode  . . 2-16
2.2.15 Program Counter Memory Indirect Preindexed Mode  . . . 2-17
2.2.16 Absolute Short Addressing Mode  . . . . . . . 2-18
2.2.17 Absolute Long Addressing Mode . . . . . . . . 2-18
2.2.18 Immediate Data   . . 2-19
2.3 Effective Addressing Mode Summary  . . . . . 2-19
2.4 Brief Extension Word Format Compatibility  . 2-21
2.5 Full Extension Addressing Modes  . . . . . . . . 2-22
2.5.1 No Memory Indirect Action Mode  . . . . . . . 2-24
2.5.2 Memory Indirect Modes  . . . . . 2-25
2.5.2.1 Memory Indirect with Preindex . . . . . . . . 2-25
2.5.2.2 Memory Indirect with Postindex . . . . . . . 2-26
2.5.2.3 Memory Indirect with Index Suppressed. 2-27
2.6 Other Data Structures  . . . . . . . 2-28
2.6.1 System Stack  2-28
2.6.2 Queues   . . . . 2-29
Section 3 Instruction Set Summary
3.1 Instruction Summary   3-1
3.1.1 Data Movement Instructions  . . 3-5
3.1.2 Integer Arithmetic Instructions  . 3-6
3.1.3 Logical Instructions   3-8
3.1.4 Shift and Rotate Instructions  . . 3-8

3.1.5 Bit Manipulation Instructions  . 3-10
3.1.6 Bit Field Instructions  . . . . . . . 3-10
3.1.7 Binary-Coded Decimal Instructions  . . . . . . 3-11
3.1.8 Program Control Instructions . 3-11
3.1.9 System Control Instructions . . 3-12
3.1.10 Cache Control Instructions (MC68040)  . . . 3-14
3.1.11 Multiprocessor Instructions  . . 3-14
3.1.12 Memory Management Unit (MMU) Instructions . . . . 3-15
3.1.13 Floating-Point Arithmetic Instructions  . . . . 3-15
3.2 Integer Unit Condition Code Computation  . . 3-17
3.3 Instruction Examples  . . . . . . . . 3-20
3.3.1 Using the Cas and Cas2 Instructions  . . . . 3-20
3.3.2 Using the Moves Instruction  . 3-20
3.3.3 Nested Subroutine Calls  . . . . 3-20
3.3.4 Bit Field Instructions  . . . . . . . 3-20
3.3.5 Pipeline Synchronization with the Nop Instruction . . 3-21
3.4 Floating-Point Instruction Details   3-21
3.5 Floating-Point Computational Accuracy  . . . . 3-23
3.5.1 Intermediate Result  . . . . . . . . 3-24
3.5.2 Rounding the Result  . . . . . . . 3-25
3.6 Floating-Point Postprocessing  . 3-27
3.6.1 Underflow, Round, Overflow  . 3-28
3.6.2 Conditional Testing  . . . . . . . . 3-28
3.7 Instruction Descriptions  . . . . . . 3-32
Section 4 Integer Instructions
Section 5 Floating Point Instructions
Section 6 Supervisor (Privileged) Instructions
Section 7 CPU32 Instructions
Section 8 Instruction Format Summary
8.1 Instruction Format
8.1 Instruction Format   . . 8-1
8.1.1 Coprocessor ID Field . . . . . . . . 8-1
8.1.2 Effective Address Field  . . . . . . 8-1
8.1.3 Register/Memory Field  . . . . . . 8-1
8.1.4 Source Specifier Field  . . . . . . . 8-1
8.1.5 Destination Register Field  . . . . 8-2
8.1.6 Conditional Predicate Field  . . . 8-2
8.1.7 Shift and Rotate Instructions  . . 8-2
8.1.7.1 Count Register Field . . . . . . . 8-2
8.1.7.2 Register Field  . . . 8-2
8.1.8 Size Field  . . . . 8-4
8.1.9 Opmode Field   8-4
8.1.10 Address/Data Field   8-4
8.2 Operation Code Map   8-4
Appendix A
Processor Instruction Summary
A.1 MC68000, MC68008, MC68010 Processors  A-12
A.1.1 M68000, MC68008, and MC68010 Instruction Set  . A-12
A.1.2 MC68000, MC68008, and MC68010 Addressing Modes  A-16
A.2 MC68020 Processors . . . . . . . . A-17
A.2.1 MC68020 Instruction Set  . . . . A-17
A.2.2 MC68020 Addressing Modes  A-20
A.3 MC68030 Processors . . . . . . . . A-21
A.3.1 MC68030 Instruction Set  . . . . A-21
A.3.2 MC68030 Addressing Modes  A-24
A.4 MC68040 Processors . . . . . . . . A-25
A.4.1 MC68040 Instruction Set  . . . . A-25
A.4.2 MC68040 Addressing Modes  A-29
A.5 MC68881/MC68882 Coprocessors  . . . . . . . A-30
A.5.1 MC68881/MC68882 Instruction Set  . . . . . A-30
A.5.2 MC68881/MC68882 Addressing Modes  . . A-31
A.6 MC68851 Coprocessors . . . . . . A-31
A.6.1 MC68851 Instruction Set  . . . . A-31
A.6.2 MC68851 Addressing Modes  A-31
Appendix B Exception Processing Reference
B.1 Exception Vector Assignments for the M68000 Family  B-1
B.2 Exception Stack Frames  . . . . . . B-3
B.3 Floating-Point Stack Frames  . . B-10
Appendix C S-Record Output Format
C.1 S-Record Content  . . . C-1
C.2 S-Record Types   C-2
C.3 S-Record Creation   . . C-3

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !

'+ '

'+ '

'+ ''+ '
'+ ''+ ''+ '
'+ ''+ '' ); $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code ==5){ $(pop_this).attr('href',"/login/index.html"); return false } if(data.code == 2){ //跳转到VIP升级页面 window.location.href="//m.obk20.com/vip/index?aid=" + webid return false } //是会员 if (data.code > 0) { $('body').append(htmlSetNormalDownload); var getWidth=$("#poplayer").width(); $("#poplayer").css("margin-left","-"+getWidth/2+"px"); $('#tips').html(data.msg) $('.download_confirm').click(function(){ $('#dialog').remove(); }) } else { var down_url = $('#vipdownload').attr('data-url'); isBindAnalysisForm(pop_this, down_url, 1) } }); }); //是否开通VIP $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code == 2 || data.code ==5){ //跳转到VIP升级页面 $('#vipdownload>span').text("开通VIP 免费下载") return false }else{ // 待续费 if(data.code == 3) { vipExpiredInfo.ifVipExpired = true vipExpiredInfo.vipExpiredDate = data.data.endoftime } $('#vipdownload .icon-vip-tips').remove() $('#vipdownload>span').text("VIP免积分下载") } }); }).on("click",".download_cancel",function(){ $('#dialog').remove(); }) var setWeixinShare={};//定义默认的微信分享信息,页面如果要自定义分享,直接更改此变量即可 if(window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger'){ var d={ title:'摩托罗拉M68000微处理器系列编程参考手册II',//标题 desc:$('[name=description]').attr("content"), //描述 imgUrl:'https://'+location.host+'/static/images/ele-logo.png',// 分享图标,默认是logo link:'',//链接 type:'',// 分享类型,music、video或link,不填默认为link dataUrl:'',//如果type是music或video,则要提供数据链接,默认为空 success:'', // 用户确认分享后执行的回调函数 cancel:''// 用户取消分享后执行的回调函数 } setWeixinShare=$.extend(d,setWeixinShare); $.ajax({ url:"//www.obk20.com/app/wechat/index.php?s=Home/ShareConfig/index", data:"share_url="+encodeURIComponent(location.href)+"&format=jsonp&domain=m", type:'get', dataType:'jsonp', success:function(res){ if(res.status!="successed"){ return false; } $.getScript('https://res.wx.qq.com/open/js/jweixin-1.0.0.js',function(result,status){ if(status!="success"){ return false; } var getWxCfg=res.data; wx.config({ //debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId:getWxCfg.appId, // 必填,公众号的唯一标识 timestamp:getWxCfg.timestamp, // 必填,生成签名的时间戳 nonceStr:getWxCfg.nonceStr, // 必填,生成签名的随机串 signature:getWxCfg.signature,// 必填,签名,见附录1 jsApiList:['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 }); wx.ready(function(){ //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: setWeixinShare.title, // 分享标题 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享给朋友”按钮点击状态及自定义分享内容接口 wx.onMenuShareAppMessage({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 type: setWeixinShare.type, // 分享类型,music、video或link,不填默认为link dataUrl: setWeixinShare.dataUrl, // 如果type是music或video,则要提供数据链接,默认为空 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ”按钮点击状态及自定义分享内容接口 wx.onMenuShareQQ({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口 wx.onMenuShareQZone({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); }); }); } }); } function openX_ad(posterid, htmlid, width, height) { if ($(htmlid).length > 0) { var randomnumber = Math.random(); var now_url = encodeURIComponent(window.location.href); var ga = document.createElement('iframe'); ga.src = 'https://www1.elecfans.com/www/delivery/myafr.php?target=_blank&cb=' + randomnumber + '&zoneid=' + posterid+'&prefer='+now_url; ga.width = width; ga.height = height; ga.frameBorder = 0; ga.scrolling = 'no'; var s = $(htmlid).append(ga); } } openX_ad(828, '#berry-300', 300, 250);