atmega16设计简单流水灯电路相关范例指令集.pdfVIP

atmega16设计简单流水灯电路相关范例指令集.pdf

  1. 1、本文档被系统程序自动判定探测到侵权嫌疑,本站暂时做下架处理。
  2. 2、如果您确认为侵权,可联系本站左侧在线QQ客服请求删除。我们会保证在24小时内做出处理,应急电话:400-050-0827。
  3. 3、此文档由网友上传,因疑似侵权的原因,本站不提供该文档下载,只提供部分内容试读。如果您是出版社/作者,看到后可认领文档,您也可以联系本站进行批量认领。
查看更多

InstructionSetNomenclature

StatusRegister(SREG)

SREG:StatusRegister

C:CarryFlag

Z:ZeroFlag

N:NegativeFlag8-bit

V:Two’scomplementoverflowindicator

InstructionSet

S:N⊕V,Forsignedtests

H:HalfCarryFlag

T:TransferbitusedbyBLDandBSTinstructions

I:GlobalInterruptEnable/DisableFlag

RegistersandOperands

Rd:Destination(andsource)registerintheRegisterFile

Rr:SourceregisterintheRegisterFile

R:Resultafterinstructioniecuted

K:Constantdata

k:Constantaddress

b:BitintheRegisterFileorI/ORegister(3-bit)

s:BitintheStatusRegister(3-bit)

:IndirectAddressRegister

(X=R27:R26,Y=R29:R28andZ=R31:R30)

A:I/Olocationaddress

q:Displacementfordirectaddressing(6-bit)

Rev.0856D–AVR–08/02

I/ORegisters

RAMPX,RAMPY,RAMPZ

RegistersconcatenatedwiththeX-,Y-,andZ-registersenablingindirectaddressingofthewholedataspaceonMCUswith

morethan64Kbytesdataspace,andconstantdatafetchonMCUswithmorethan64Kbytesprogramspace.

RAMPD

RegisterconcatenatedwiththeZ-registerenablingdirectaddressingofthewholedataspaceonMCUswithmorethan64K

bytesdataspace.

EIND

RegisterconcatenatedwiththeinstructionwordenablingindirectjumpandcalltothewholeprogramspaceonMCUswith

morethan64Kbytesprogramspace.

Stack

STACK:Stackforreturnaddressandpushedregisters

SP:StackPointertoSTACK

Flags

⇔:Flagaffectedbyinstruction

0:Flagclearedbyinstruction

1:Flagsetbyinstruction

-:Flagnotaffectedbyinstruction

2AVRInstructionSet

0856D–AVR–08/02

文档评论(0)

kay5620 + 关注
实名认证
文档贡献者

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

版权声明书
用户编号:8001056127000014

1亿VIP精品文档

相关文档