Instruction Set Nomenclature

Rd: Rr: R: K: k: b: s: X,Y,Z: Destination (and source) register in the Register File Source register in the Register File Result after instruction is executed Constant data Constant address Bit in the Register File or I/O Register (3-bit) Bit in the Status Register (3-bit) Indirect Address Register (X=R27:R26, Y=R29:R28 and Z=R31:R30) A: q: I/O location address Displacement for direct addressing (6-bit) | 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 Rd Destination and source register in the Register File Rr Source register in the Register File R Result after instruction is executed K Constant data k Constant address b 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 and Z R31 R30 A I O location address q Displacement for direct addressing 6-bit imEL 8-bit AW InstructionSet Rev. 0856I-AVR-07 10 XlmEL ÆIÏ1EL I O Registers RAMPX RAMPY RAMPZ Registers concatenated with the X- Y- and Z-registers enabling indirect addressing of the whole data space on MCUs with more than 64K bytes data space and constant data fetch on MCUs with more than 64K bytes program space. RAMPD Register concatenated with the Z-register enabling direct addressing of the whole data space on MCUs with more than 64K bytes data space. EIND Register concatenated with the Z-register enabling indirect jump and call to the whole program space on MCUs with more than 64K words 128K bytes program space. Stack STACK Stack for return address and pushed registers SP Stack Pointer to STACK Flags Flag affected by instruction 0 Flag cleared by instruction 1 Flag set by instruction - Flag not affected by instruction 2 AVR Instruction Set 0856I-AVR-07 10 AVR Instruction Set The Program and Data Addressing Modes The AVR Enhanced RISC microcontroller supports powerful and efficient addressing modes for access to the Program memory Flash and Data memory SRAM Register file I O Memory and Extended I O Memory . This section describes the various addressing modes supported by the AVR architecture. In the following figures OP means the operation code part of the instruction word. To simplify

Bấm vào đây để xem trước nội dung
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.