- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
间接寻址与地址寄存器
Indirect Addressing and Address Register Instructions Addressing Possibilities with STEP 7 Direct Addressing of Variables Direct Addressing of Address Identifiers in DBs Evaluating DB Information in the Program Instructions with DB Registers: CDB: Exchange DB Registers Load DB Register in ACCU1 L DBNO (load opened DB number in ACCU1) L DINO (load opened DI number in ACCU1) Load length of data blocks L DBLG (load the length/bytes of the opened DB in ACCU1) L DILG (load the length/bytes of the opened DI in ACCU1) Memory Indirect Addressing Structure of Pointers with Memory Indirect Addressing Special Features of Memory Indirect Addressing Address Areas for Storing 16-bit and 32-bit Pointers: Bit Memories (addressed absolute or symbolic, e.g.: OPN DB[MW30], OPN DI[Motor_1], etc. A I[MD30], T QD[Speed_1], etc.) Local Data Stack (addressed absolute or symbolic,e.g.: OPN DB[LW10], OPN DI[#DB_NO], etc. A I[LD10], T QD[#Par_Pointer], etc.) Global (Shared) Data Block (can only be addressed absolute, DB must be opened beforehand,e.g.: OPN DB[DBW0] (overwrites DB register !!!), OPN DI[DBW22], etc. A I[DBD10], T QD[DBD22], etc.) Instance Data Block (can only be addressed absolute, DI must be opened beforehand,e.g.: OPN DB[DIW20], OPN DI[DIW0] (overwrites DI register !!!), etc. A I[DID10], T QD[DID22], etc.) Characteristics in the Passing of Pointers to FBs and FCs Pointers passed in parameters cannot be used directly for memory indirectaddressing. Pointers passed for memory indirect addressing must be copied into temporary variables before accessing. Example of Indirect Addressing Exercise 4.1: Loop Programming with Indirect Addressing Area-Internal, Register Indirect Addressing Area-Crossing, Register Indirect Addressing Instructions for Loading Address Registers Loading the Address Register LARn (n =1 or 2): Load contents of ACCU1 in ARn LARn Address Load contents of Address in ARn LARn P#Address Load address of Address in ARn Address: Processor re
您可能关注的文档
最近下载
- 英语A级2013年6月试题.docx VIP
- 亲子沟通方法ppt课件.pptx VIP
- DB23T 3758-2024 水稻立体育秧智慧工厂智能环境控制技术规范.docx VIP
- 中国美女最多五个地区第1名真是让人大跌眼镜.doc VIP
- (正式版)DB23∕T 3758-2024 《水稻立体育秧智慧工厂智能环境控制技术规范》.pdf VIP
- 《司马光》PPT课件-司马光ppt公开课.pptx VIP
- 2025主题班会-《心怀感恩与爱同行》感恩教育 课件(共34张PPT内嵌视频).pptx VIP
- 产教评技能生态链:内涵解析、价值意蕴与运行机制研究.docx VIP
- 《司马光》学习单.docx VIP
- “懂能会”让员工安全履责落地培训课件.pdf VIP
有哪些信誉好的足球投注网站
文档评论(0)