データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

L9803 データシート(PDF) 105 Page - STMicroelectronics

部品番号 L9803
部品情報  Super smart power motor driver with 8-Bit MCU, RAM, EEPROM, ADC, WDG, Timers, PWM and H-bridge driver
PDF  126 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

L9803 データシート(HTML) 105 Page - STMicroelectronics

Back Button L9803 Datasheet HTML 101Page - STMicroelectronics L9803 Datasheet HTML 102Page - STMicroelectronics L9803 Datasheet HTML 103Page - STMicroelectronics L9803 Datasheet HTML 104Page - STMicroelectronics L9803 Datasheet HTML 105Page - STMicroelectronics L9803 Datasheet HTML 106Page - STMicroelectronics L9803 Datasheet HTML 107Page - STMicroelectronics L9803 Datasheet HTML 108Page - STMicroelectronics L9803 Datasheet HTML 109Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 105 / 126 page
background image
L9803
Instruction Set
105/126
6
Instruction Set
6.1
ST7 Addressing Modes
The ST7 Core features 17 different addressing modes which can be classified in 7 main
groups:
The ST7 Instruction set is designed to minimize the number of bytes required per
instruction: To do so, most of the addressing modes may be subdivided in two sub-modes
called long and short:
Long addressing mode is more powerful because it can use the full 64Kbyte address
space, however it uses more bytes and more CPU cycles.
Short addressing mode is less powerful because it can generally only access page
zero (0000 - 00FFh range), but the instruction size is more compact, and faster. All
memory to memory instructions use short addressing modes only (CLR, CPL, NEG,
BSET, BRES, BTJT, BTJF, INC, DEC, RLC, RRC, SLL, SRL, SRA, SWAP)
The ST7 Assembler optimize the use of long and short addressing modes.
Addressing Mode
Example
Inherent
nop
Immediate
ld A,#$55
Direct
ld A,$55
Indexed
ld A,($55,X)
Indirect
ld A,([$55],X)
Relative
jrne loop
Bit operation
bset
byte,#5
Table 15.
ST7 Addressing Mode Overview:
Mode
Syntax
Destination
Pointer
Address
Pointer Size
(Hex.)
Length
(Bytes)
Inherent
nop
+ 0
Immediate
ld A,#$55
+ 1
Short
Direct
ld A,$10
00..FF
+ 1
Long
Direct
ld A,$1000
0000..FFFF
+ 2
No Offset
Direct
Indexed
ld A,(X)
00..FF
+ 0
Short
Direct
Indexed
ld A,($10,X)
00..1FE
+ 1
Long
Direct
Indexed
ld A,($1000,X)
0000..FFFF
+ 2
Short
Indirect
ld A,[$10]
00..FF
00..FF
byte
+ 2
Long
Indirect
ld A,[$10.w]
0000..FFFF
00..FF
word
+ 2
Short
Indirect
Indexed
ld A,([$10],X)
00..1FE
00..FF
byte
+ 2
Long
Indirect
Indexed
ld A,([$10.w],X)
0000..FFFF
00..FF
word
+ 2



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


リンク URL



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