数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UPSD3422 数据表(PDF) 39 Page - STMicroelectronics

部件名 UPSD3422
功能描述  Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
PDF  293 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UPSD3422 数据表(HTML) 39 Page - STMicroelectronics

Back Button UPSD3422 Datasheet HTML 35Page - STMicroelectronics UPSD3422 Datasheet HTML 36Page - STMicroelectronics UPSD3422 Datasheet HTML 37Page - STMicroelectronics UPSD3422 Datasheet HTML 38Page - STMicroelectronics UPSD3422 Datasheet HTML 39Page - STMicroelectronics UPSD3422 Datasheet HTML 40Page - STMicroelectronics UPSD3422 Datasheet HTML 41Page - STMicroelectronics UPSD3422 Datasheet HTML 42Page - STMicroelectronics UPSD3422 Datasheet HTML 43Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 293 page
background image
uPSD34xx
8032 addressing modes
39/293
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 uPSD34xx 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 47.
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 uPSD34xx, so it is not possible to
write the upper address byte).
For example:
Note:
This mode is not supported by uPSD34xx.
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
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
MOVX @R0,A
; Move into the accumulator the
; XDATA that is pointed to by
; the address contained in R0.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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