ESE 380 Lecture Notes - Lecture 10: Register File, Data Segment, Array Data Structure
Document Summary
A microcontroller"s memory addressing modes are the different ways (kinds of instructions) it provides to generate an address to reference a memory location. A data structure is an organizational scheme for arranging the storage of data in memory. Different memory addressing modes are advantageous for accessing different kinds of data structures. Registers in the register file can be accessed as locations in sram data memory (addresses sh through f) I/o registers can be accessed as locations in sram data memory (addresses through f) Extended i/o registers can be accessed as locations in. Internal user sram occupies locations through. A named storage location capable of holding data that can be easily modified during program execution. Can be stored in a register or memory location. Advantage of register variables is that the data is directly available to the alu for computation. Disadvantage is that the number of registers is limited (32 in the avr architecture)