Example: tourism industry

Instruction Set Nomenclature - Microchip Technology

AVR Microcontrollers AVR Instruction Set Manual OTHERI nstruction Set NomenclatureStatus Register (SREG)SREGS tatus RegisterCCarry FlagZZero FlagNNegative FlagVTwo s complement overflow indicatorSN V, for signed testsHHalf Carry FlagTTransfer bit used by BLD and BST instructionsIGlobal Interrupt Enable/Disable FlagRegisters and OperandsRd:Destination (and source) register in the Register FileRr:Source register in the Register FileR:Result after Instruction is executedK:Constant datak:Constant addressb:Bit in the Register File or I/O Register (3-bit)s:Bit in the Status Register (3-bit)X,Y,Z:Indirect Address Register (X=R27:R26, Y=R29:R28, andZ=R31:R30)A:I/O location addressq:Displacement for direct addressing (6-bit)Atmel-0856L-AVR- Instruction -Set-M anual_Other-11/2016 Table of ContentsInstruction Set , RAMPY, and Program and Data Addressing Direct, Single Register Direct - Two Registers, Rd and Indirect with Indirect with Indirect with Memory Constant Addressing u

Instruction Set Nomenclature Status Register (SREG) SREG Status Register C Carry Flag Z Zero Flag N Negative Flag V Two’s complement overflow indicator S N ⊕ V, for signed tests H Half Carry Flag T Transfer bit used by BLD and BST instructions I Global Interrupt Enable/Disable Flag Registers and Operands

Tags:

  Global, Instructions, Nomenclature, Instruction set nomenclature

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Instruction Set Nomenclature - Microchip Technology

1 AVR Microcontrollers AVR Instruction Set Manual OTHERI nstruction Set NomenclatureStatus Register (SREG)SREGS tatus RegisterCCarry FlagZZero FlagNNegative FlagVTwo s complement overflow indicatorSN V, for signed testsHHalf Carry FlagTTransfer bit used by BLD and BST instructionsIGlobal Interrupt Enable/Disable FlagRegisters and OperandsRd:Destination (and source) register in the Register FileRr:Source register in the Register FileR:Result after Instruction is executedK:Constant datak:Constant addressb:Bit in the Register File or I/O Register (3-bit)s:Bit in the Status Register (3-bit)X,Y,Z:Indirect Address Register (X=R27:R26, Y=R29:R28, andZ=R31:R30)A:I/O location addressq.

2 Displacement for direct addressing (6-bit)Atmel-0856L-AVR- Instruction -Set-M anual_Other-11/2016 Table of ContentsInstruction Set , RAMPY, and Program and Data Addressing Direct, Single Register Direct - Two Registers, Rd and Indirect with Indirect with Indirect with Memory Constant Addressing using the LPM, ELPM, and SPM Memory with Post-increment using the LPM Z+ and ELPM Z+ Program Addressing, JMP and Program Addressing, IJMP and Program Addressing, RJMP and Branch Set Add with Register (SREG) and Boolean Add without Register (SREG) and Boolean Add Immediate to Register (SREG) and Boolean Logical Register (SREG) and Boolean Logical AND with AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean Arithmetic Shift Register (SREG) and Boolean Bit Clear in Register (SREG) and Boolean Bit Load from the T Flag in SREG to a Bit in Register (SREG) and Boolean Branch if Bit in SREG is Register (SREG) and Boolean Branch if Bit in SREG is Register (SREG) and Boolean Branch if Carry Register (SREG) and Boolean Branch if Carry Register (SREG) and Boolean Register (SREG) and Boolean Branch if Register (SREG)

3 And Boolean Branch if Greater or Equal (Signed).. Register (SREG) and Boolean Branch if Half Carry Flag is Register (SREG) and Boolean Branch if Half Carry Flag is Register (SREG) and Boolean AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Branch if global Interrupt is Register (SREG) and Boolean Branch if global Interrupt is Register (SREG) and Boolean Branch if Lower (Unsigned).. Register (SREG) and Boolean Branch if Less Than (Signed).. Register (SREG) and Boolean Branch if Register (SREG) and Boolean Branch if Not Register (SREG) and Boolean Branch if Register (SREG) and Boolean Branch if Same or Higher (Unsigned).

4 Register (SREG) and Boolean Branch if the T Flag is Register (SREG) and Boolean Branch if the T Flag is Register (SREG) and Boolean Branch if Overflow Register (SREG) and Boolean Branch if Overflow Register (SREG) and Boolean Bit Set in AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean Bit Store from Bit in Register to T Flag in Register (SREG) and Boolean Long Call to a Register (SREG) and Boolean Clear Bit in I/O Register (SREG) and Boolean Clear Bits in Register (SREG) and Boolean Clear Carry Register (SREG) and Boolean Clear Half Carry Register (SREG) and Boolean Clear global Interrupt Register (SREG) and Boolean Clear Negative Register (SREG) and Boolean Clear Register (SREG) and Boolean Clear Signed Register (SREG) and Boolean Clear T Register (SREG) and Boolean Clear Overflow AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean Clear Zero Register (SREG) and Boolean One s Register (SREG) and Boolean Register (SREG) and Boolean Compare with Register (SREG) and Boolean Compare with Register (SREG)

5 And Boolean Compare Skip if Register (SREG) and Boolean Register and Boolean Data Encryption Extended Indirect Call to Register (SREG) and Boolean Extended Indirect Register (SREG) and Boolean Extended Load Program Register (SREG) and Boolean Exclusive Register (SREG) and Boolean AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Fractional Multiply Register (SREG) and Boolean Fractional Multiply Register (SREG) and Boolean Fractional Multiply Signed with Register (SREG) and Boolean Indirect Call to Register (SREG) and Boolean Indirect Register (SREG) and Boolean - Load an I/O Location to Register (SREG) and Boolean Register and Boolean Register (SREG) and Boolean Load and Register (SREG) and Boolean Load and Register (SREG) and Boolean Load and Register (SREG) and Boolean Load Indirect from Data Space to Register using Index Register (SREG) and Boolean (LDD) Load Indirect from Data Space to Register using Index 109 Atmel AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean (LDD) Load Indirect From Data Space to Register using Index Register (SREG) and Boolean Load Register (SREG)

6 And Boolean Load Direct from Data Register (SREG) and Boolean (16-bit) Load Direct from Data Register (SREG) and Boolean Load Program Register (SREG) and Boolean Logical Shift Register (SREG) and Boolean Logical Shift Register (SREG) and Boolean Copy Register (SREG) and Boolean Copy Register Register (SREG) and Boolean Multiply Register (SREG) and Boolean Multiply Register (SREG) and Boolean Multiply Signed with AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean Two s Register (SREG) and Boolean No Register (SREG) and Boolean Logical Register (SREG) and Boolean Logical OR with Register (SREG) and Boolean Store Register to I/O Register (SREG) and Boolean Pop Register from Register (SREG) and Boolean Push Register on Register (SREG) and Boolean Relative Call to Register (SREG) and Boolean Return from Register (SREG) and Boolean Return from Register (SREG) and Boolean Relative Register (SREG) and Boolean Rotate Left trough Register (SREG) and Boolean AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Rotate Right through Register (SREG)

7 And Boolean Subtract with Register (SREG) and Boolean Subtract Immediate with Carry SBI Set Bit in I/O Register (SREG) and Boolean Set Bit in I/O Register (SREG) and Boolean Skip if Bit in I/O Register is Register (SREG) and Boolean Skip if Bit in I/O Register is Register (SREG) and Boolean Subtract Immediate from Register (SREG) and Boolean Set Bits in Register (SREG) and Boolean Skip if Bit in Register is Register (SREG) and Boolean Skip if Bit in Register is Register (SREG) and Boolean Set Carry Register (SREG) and Boolean Set Half Carry Register (SREG) and Boolean Set global Interrupt AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean Set Negative Register (SREG) and Boolean Set all Bits in Register (SREG) and Boolean Set Signed Register (SREG) and Boolean Set T Register (SREG) and Boolean Set Overflow Register (SREG) and Boolean Set Zero Register (SREG) and Boolean Register (SREG) and Boolean Store Program Register (SREG) and Boolean #2 Store Program Register (SREG) and Boolean Store Indirect From Register to Data Space using Index Register (SREG) and Boolean (STD)

8 Store Indirect From Register to Data Space using Index Register (SREG) and Boolean (STD) Store Indirect From Register to Data Space using Index 177 Atmel AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11 Register (SREG) and Boolean Store Direct to Data Register (SREG) and Boolean (16-bit) Store Direct to Data Register (SREG) and Boolean Subtract Without Register and Boolean Subtract Register and Boolean Swap Register (SREG) and Boolean Test for Zero or Register (SREG) and Boolean Watchdog Register (SREG) and Boolean Register (SREG) and Boolean Revision - 11 - 04 - 07 07 04 07 05 AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11/2016121.

9 I/O RAMPX, RAMPY, and RAMPZR egisters concatenated with the X-, Y-, and Z-registers enabling indirect addressing of the whole dataspace on MCUs with more than 64KB data space, and constant data fetch on MCUs with more than64KB program RAMPDR egister concatenated with the Z-register enabling direct addressing of the whole data space on MCUswith more than 64KB data EINDR egister concatenated with the Z-register enabling indirect jump and call to the whole program space onMCUs with more than 64K words (128KB) program StackSTACKS tack for return address and pushed registersSPStack Pointer to Flags Flag affected by instruction0 Flag cleared by instruction1 Flag set by Instruction -Flag not affected by instructionAtmel AVR Instruction Set Manual [OTHER]Atmel-0856L-AVR- Instruction -Set-M anual_Other-11/2016132.

10 The Program and Data Addressing ModesThe AVR Enhanced RISC microcontroller supports powerful and efficient addressing modes for accessto the Program memory (Flash) and Data memory (SRAM, Register file, I/O Memory, and Extended I/OMemory). This chapter describes the various addressing modes supported by the AVR architecture. In thefollowing figures, OP means the operation code part of the Instruction word. To simplify, not all figuresshow the exact location of the addressing bits. To generalize, the abstract terms RAMEND a


Related search queries