| 전자부품 데이터시트 검색엔진 |
|
PIC17C752-08/P 데이터시트(PDF) 55 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC17C752-08/P 데이터시트(HTML) 55 Page - Microchip Technology |
|
55 / 320 page ![]() © 1997 Microchip Technology Inc. Preliminary DS30264A-page 55 PIC17C75X 8.0 TABLE READS AND TABLE WRITES The PIC17C75X has four instructions that allow the processor to move data from the data memory space to the program memory space, and vice versa. Since the program memory space is 16-bits wide and the data memory space is 8-bits wide, two operations are required to move 16-bit values to/from the data mem- ory. The TLWT t,f and TABLWT t,i,f instructions are used to write data from the data memory space to the program memory space. The TLRD t,f and TABLRD t,i,f instructions are used to write data from the pro- gram memory space to the data memory space. The program memory can be internal or external. For the program memory access to be external, the device needs to be operating in extended microcontroller or microprocessor mode. Figure 8-1 through Figure 8-4 show the operation of these four instructions. FIGURE 8-1: TLWT INSTRUCTION OPERATION TABLE POINTER TABLE LATCH (16-bit) PROGRAM MEMORY DATA MEMORY TBLPTRH TBLPTRL TABLATH TABLATL f TLWT 1,f TLWT 0,f 1 Note 1: 8-bit value, from register 'f', loaded into the high or low byte in TABLAT (16-bit). FIGURE 8-2: TABLWT INSTRUCTION OPERATION TABLE POINTER TABLE LATCH (16-bit) PROGRAM MEMORY DATA MEMORY TBLPTRH TBLPTRL TABLATH TABLATL f TABLWT 1,i,f TABLWT 0,i,f 1 Prog-Mem (TBLPTR) 2 Note 1: 8-bit value, from register 'f', loaded into the high or low byte in TABLAT (16-bit). 2: 16-bit TABLAT value written to address Program Memory (TBLPTR). 3: If “i” = 1, then TBLPTR = TBLPTR + 1, If “i” = 0, then TBLPTR is unchanged. 3 3 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |