Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

DM163006 Datasheet(PDF) 75 Page - Microchip Technology

Part # DM163006
Description  High-Performance ROM-less Microcontrollers
PDF  320 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DM163006 Datasheet(HTML) 75 Page - Microchip Technology

Back Button DM163006 Datasheet HTML 71Page - Microchip Technology DM163006 Datasheet HTML 72Page - Microchip Technology DM163006 Datasheet HTML 73Page - Microchip Technology DM163006 Datasheet HTML 74Page - Microchip Technology DM163006 Datasheet HTML 75Page - Microchip Technology DM163006 Datasheet HTML 76Page - Microchip Technology DM163006 Datasheet HTML 77Page - Microchip Technology DM163006 Datasheet HTML 78Page - Microchip Technology DM163006 Datasheet HTML 79Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 320 page
background image
 2001 Microchip Technology Inc.
Advance Information
DS39541A-page 75
PIC18C601/801
6.2
Table Read
The TBLRD instruction is used to retrieve data from
external program memory and place it into data
memory.
TBLPTR points to a byte address in external program
memory space. Executing TBLRD places the byte into
TABLAT. In addition, TBLPTR can be modified auto-
matically for the next Table Read operation.
Table Reads from external program memory are
performed one byte at a time. If the external interface is
8-bit, the bus interface circuitry in TABLAT will load the
external value into TABLAT. If the external interface is
16-bit, interface circuitry in TABLAT will select either the
high or low byte of the data from the 16-bit bus, based
on the least significant bit of the address.
Example 6-1describes how to use TBLRD. Figure 6-3
and Figure 6-4 show Table Read timings for an 8-bit
external interface, and Figure 6-5 describes Table
Read timing for a 16-bit interface.
EXAMPLE 6-1:
TABLE READ CODE EXAMPLE
FIGURE 6-3:
TBLRD
EXTERNAL INTERFACE TIMING (8-BIT MULTIPLEXED MODE)
; Read a byte from location 0020h
CLRF
TBLPTRU
; clear upper 5 bits of TBLPTR
CLRF
TBLPTRH
; clear higher 8 bits of TBLPTR
MOVLW
20h
; Load 20h into
MOVWF
TBLPTRL
; TBLPTRL
TBLRD*
; Data is in TABLAT
Q2
Q1
Q3
Q4
Q2
Q1
Q3
Q4
Q2
Q1
Q3
Q4
A<15:8>
ALE
OE
AAh
WRH
WRL
AD<7:0>
03Ah
03Ah
BA0
Opcode Fetch
Opcode Fetch
Opcode Fetch
TBLRD*
TBLRD Cycle1
ADDLW 55h
from 007554h
08h
’1’
Q2
Q1
Q3
Q4
CCFh
33h
TABLRD 92h
from 199E67h
92h
’1’
00h
ABh
55h
0Eh
ACh
55h
0Fh
03Ah
’1’
’1’
from 007558h
Memory
Cycle
Instruction
Execution
INST(PC-2)
TBLRD Cycle2
MOVLW 55h
from 007556h
MOVLW



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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