Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UPD17P133CS Datasheet(PDF) 44 Page - NEC

Part # UPD17P133CS
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  289 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17P133CS Datasheet(HTML) 44 Page - NEC

Back Button UPD17P133CS Datasheet HTML 40Page - NEC UPD17P133CS Datasheet HTML 41Page - NEC UPD17P133CS Datasheet HTML 42Page - NEC UPD17P133CS Datasheet HTML 43Page - NEC UPD17P133CS Datasheet HTML 44Page - NEC UPD17P133CS Datasheet HTML 45Page - NEC UPD17P133CS Datasheet HTML 46Page - NEC UPD17P133CS Datasheet HTML 47Page - NEC UPD17P133CS Datasheet HTML 48Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 289 page
background image
CHAPTER 4
PROGRAM MEMORY (ROM)
29
(2) Branch table
Example 2 shows an example of code used to reference a branch table.
Example 2. Code used for reading the values recorded in a branch table. The value specified by
an OFFSET value is read.
OFFSET
MEM
0.00H
; Storing area for the offset address.
; BANK0
MOV
RPH,#0
; Sets the register pointer to row
MOV
RPL,#7 SHL 1
; address 7.
ROMREF:
; BANK0
; Stores the start address of the constant data
; table in the address register (AR).
MOV
AR3, #.DL.TABLE SHR 12 AND 0FH
MOV
AR2, #.DL.TABLE SHR 8 AND 0FH
MOV
AR1, #.DL.TABLE SHR 4 AND 0FH
MOV
AR0, #.DL.TABLE AND 0FH
ADD
AR0, OFFSET
; Adds the offset address.
ADDC
AR1, #0
MOVT
DBF, @AR
; Executes the table reference instruction.
PUT
AR, DBF
BR
@AR
TABLE:
DW
0001H
DW
0002H
DW
0004H
DW
0008H
DW
0010H
DW
0020H
DW
0040H
DW
0080H
DW
0100H
DW
0200H
END



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