Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UPSD3312D Datasheet(PDF) 48 Page - STMicroelectronics

Part # UPSD3312D
Description  fast 8032 MCU with programmable logic
PDF  272 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3312D Datasheet(HTML) 48 Page - STMicroelectronics

Back Button UPSD3312D Datasheet HTML 44Page - STMicroelectronics UPSD3312D Datasheet HTML 45Page - STMicroelectronics UPSD3312D Datasheet HTML 46Page - STMicroelectronics UPSD3312D Datasheet HTML 47Page - STMicroelectronics UPSD3312D Datasheet HTML 48Page - STMicroelectronics UPSD3312D Datasheet HTML 49Page - STMicroelectronics UPSD3312D Datasheet HTML 50Page - STMicroelectronics UPSD3312D Datasheet HTML 51Page - STMicroelectronics UPSD3312D Datasheet HTML 52Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 272 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
8032 addressing modes
UPSD33xx
48/272
Doc ID 9685 Rev 7
9.7
Indexed addressing
This mode is used for the MOVC instruction which allows the 8032 to read a constant from
program memory (not data memory). MOVC is often used to read look-up tables that are
embedded in program memory. The final address produced by this mode is the result of
adding either the 16-bit PC or DPTR value to the contents of the accumulator. The value in
the accumulator is referred to as an index. The data fetched from the final location in
program memory is stored into the accumulator, overwriting the index value that was
previously stored there. For example:
9.8
Relative addressing
This mode will add the two’s-compliment number stored in the second byte of the instruction
to the program counter for short jumps within +128 or –127 addresses relative to the
program counter. This is commonly used for looping and is very efficient since no additional
bus cycle is needed to fetch the jump destination address. For example:
9.9
Absolute addressing
This mode will append the 5 high-order bits of the address of the next instruction to the 11
low-order bits of an ACALL or AJUMP instruction to produce a 16-bit jump address. The
jump will be within the same 2 Kbyte page of program memory as the first byte of the
following instruction. For example:
MOVX @R0,A
; Move into the accumulator the
; XDATA that is pointed to by
; the address contained in R0.
MOVC A, @A+DPTR
; Move code byte relative to
; DPTR into accumulator
MOVC A, @A+PC
; Move code byte relative to PC
; into accumulator
SJMP 34h
; Jump 34h bytes ahead (in program
; memory) of the address at which
; the SJMP instruction is stored. If
; SJMP is at 1000h, program
; execution jumps to 1034h.
AJMP 0500h
; If next instruction is located at
; address 4000h, the resulting jump
; will be made to 4500h.



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