网站大量收购独家精品文档,联系QQ:2885784924

交叉指针案例(国外英文资料).doc

  1. 1、本文档共11页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
交叉指针案例(国外英文资料)

交叉指针案例(国外英文资料)L p # I0.0 / / point ILAR1L W [AR1, p # 0.0]T MW100 / / sends the contents of the IW0 to MW100.The above program is a cross-section addressing, namely, access width [ARx, offset]. W [AR1, p # 0.0],W access width is a word and the offset is 0.0./ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /D [AR, P# 0.0] for which storage area in the CPU, you must also look at the previous statement.For example: 1, LAR1/2 P# M20.0 / / load address pointer P# M20.0 to AR1, AR2.L B [ar1/2, p # 10.0] / / B is the width, and the address is the address in ar1/2, M,The actual address is MB30.In your example, the address of D is the address of the address register AR, and D is the width of the data./ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /Load # POINTER_SOURCE / / mount # POINTER_SOURCE in the accumulator 1LAR1 / / load the contents of the accumulator 1 (ACCU1) into the address register AR1L W# 16 # 1002 / / load the 4098 decimal value into the accumulator 1 (ACCU1)T LW [AR1, P# 0.0] / / take the contents of the accumulator 1 (ACCU1) to the address register, AR1 + P# 0.0 (the address is two words)# SOURCE_DBNR / / load the # SOURCE_DBNR in the accumulator 1 (ACCU1)T LW [AR1, P# 4.0] / / take the contents of the accumulator 1 (ACCU1) to the address register, AR1 + P# 4.0 (the address is a double word)L # SOURCE_BEGIN / / get # SOURCE_BEGIN to the accumulator 1 (ACCU1)SLD 3 / / take # SOURCE_BEGIN times 8, and then save it in ACCU1OD DW# 16 #/ / the contents of the accumulator 1 (ACCU1) and DW# 16 #(decimal 2214592512), or operation, and then saved in the accumulator 1 (ACCU1)T LD (AR1, p # 6.0) / / will pass the contents of the accumulator 1 (ACCU1) to AR1 + P# 6.0L # SOURCE_LENGTH /

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档