| Electronic Components Datasheet Search |
|
PIC18LC658-E/CL Datasheet(PDF) 65 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18LC658-E/CL Datasheet(HTML) 65 Page - Microchip Technology |
|
65 / 366 page ![]() 2000 Microchip Technology Inc. Advanced Information DS30475A-page 65 PIC18CXX8 5.0 TABLE READS/TABLE WRITES All PICmicro® devices have two memory spaces: the program memory space and the data memory space. Table Reads and Table Writes have been provided to move data between these two memory spaces through an 8-bit register (TABLAT). The operations that allow the processor to move data between the data and program memory spaces are: • Table Read (TBLRD) • Table Write (TBLWT) Table Read operations retrieve data from program memory and place it into the data memory space. Figure 5-1 shows the operation of a Table Read with program and data memory. Table Write operations store data from the data mem- ory space into program memory. Figure 5-2 shows the operation of a Table Write with program and data memory. Table operations work with byte entities. A table block containing data is not required to be word aligned, so a table block can start and end at any byte address. If a table write is being used to write an executable pro- gram to program memory, program instructions will need to be word aligned. FIGURE 5-1: TABLE READ OPERATION FIGURE 5-2: TABLE WRITE OPERATION TABLE POINTER (1) TABLE LATCH (8-bit) PROGRAM MEMORY TBLPTRH TBLPTRL TABLAT TBLPTRU Instruction: TBLRD* Note 1: Table Pointer points to a byte in program memory. Program Memory (TBLPTR) TABLE POINTER (1) TABLE LATCH (8-bit) PROGRAM MEMORY TBLPTRH TBLPTRL TABLAT Program Memory (TBLPTR) TBLPTRU Instruction: TBLWT* Note 1: Table Pointer points to a byte in program memory. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |