Electronic Components Datasheet Search
  English  ▼

X  

UPD70741 Datasheet(PDF) 18 Page - NEC

Part # UPD70741
Description  V821TM 32-/16-BIT MICROPROCESSOR
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD70741 Datasheet(HTML) 18 Page - NEC

Back Button UPD70741 Datasheet HTML 14Page - NEC UPD70741 Datasheet HTML 15Page - NEC UPD70741 Datasheet HTML 16Page - NEC UPD70741 Datasheet HTML 17Page - NEC UPD70741 Datasheet HTML 18Page - NEC UPD70741 Datasheet HTML 19Page - NEC UPD70741 Datasheet HTML 20Page - NEC UPD70741 Datasheet HTML 21Page - NEC UPD70741 Datasheet HTML 22Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 112 page
background image
µPD70741
18
3.3.1 Program register set
The program register set includes general-purpose registers and a program counter.
(1) General-purpose registers
The V821 has 32 general-purpose registers, r0-r31. These registers can be used for data or address variables.
Registers r0 and r26-r30 are used implicitly with instructions. Caution is therefore necessary when using these
registers. Registers r1-r5 and r31 are used implicitly by the assembler and the C compiler. Before using these
registers, therefore, the contents of the registers must be saved to prevent their being destroyed. After using
the registers, their contents must be restored.
Table 3-1. Program Registers
Name
Use
Explanation
r0
Zero register
Always stores zeros.
r1
Assembler-reserved register
Used as a working register to create 32-bit immediate.
r2
Handler stack pointer
Used as a stack pointer for the handler.
r3
Stack pointer
Used to create a stack frame at a function call.
r4
Global pointer
Used to access a global variable in a data area.
r5
Text pointer
Points to the top of a text area
r6-r25
-
Register for an address/data variable
r26
String destination start bit offset
Used to execute a bit string instruction.
r27
String source start bit offset
r28
String length register
r29
String destination start address register
r30
String start address register
r31
Link pointer
Stores a return point address according to the execution of a JAL instruction.
(2) Program counter
Stores the address of an instruction while a program is running. Bit 0 of the program counter (PC) is fixed to
0, thus preventing a branch to an odd address. It is initialized to FFFFFFF0H at reset.



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