Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UPSD3312D Datasheet(PDF) 47 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) 47 Page - STMicroelectronics

Back Button UPSD3312D Datasheet HTML 43Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 272 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
UPSD33xx
8032 addressing modes
Doc ID 9685 Rev 7
47/272
9.4
Immediate addressing
This mode uses 8-bits of data (a constant) contained in the second byte of the instruction,
and stores it into the memory location or register indicated by the first byte of the instruction.
Thus, the data is immediately available within the instruction. This mode is commonly used
to initialize registers and SFRs or to perform mask operations.
There is also a 16-bit version of this mode for loading the DPTR register. In this case, the
two bytes following the instruction byte contain the 16-bit value. For example:
9.5
External direct addressing
This mode will access external memory (XDATA) by using the 16-bit address stored in the
DPTR register. There are only two instructions using this mode and both use the
accumulator to either receive a byte from external memory addressed by DPTR or to send a
byte from the accumulator to the address in DPTR. The UPSD33xx has a special feature to
alternate the contents (source and destination) of DPTR rapidly to implement very efficient
memory-to-memory transfers. For example:
Note:
See details in Section 11: Dual data pointers on page 56.
9.6
External indirect addressing
This mode will access external memory (XDATA) by using the 8-bit address stored in either
register R0 or R1. This is the fastest way to access XDATA (least bus cycles), but because
only 8-bits are available for address, this mode limits XDATA to a size of only 256 bytes (the
traditional Port 2 of the 8032 MCU is not available in the UPSD33xx, so it is not possible to
write the upper address byte).
This mode is not supported by UPSD33xx.
For example:
MOV A, @R0
; Move into the accumulator the
; contents of IDATA SRAM that is
; pointed to by the address
; contained in R0.
MOV A, 40#
; Move the constant, 40h, into
; the accumulator
MOV DPTR, 1234#
; Move the constant, 1234h, into
; DPTR
MOVX A, @DPTR
; Move contents of accumulator to
; XDATA at address contained in
; DPTR
MOVX @DPTR, A
; Move XDATA to accumulator



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