| 전자부품 데이터시트 검색엔진 |
|
PM0044 데이터시트(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 데이터시트(HTML) 41 Page - STMicroelectronics |
|
41 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 41/162 6.4.2 Short Indexed addressing mode The offset is a byte, thus requires only one byte after the op-code, but only allows 00..1FE addressing space. Example: Figure 12. Short Indexed - 8-bit offset - addressing mode example 0089 11223344 table dc.l $11223344 0759 AE03 LD X,#3 075B E689 LD A,(table,X) Action: X = 3 A = (table, X) = ($89, X) = ($89, 3) = ($8C) = $44 Previous Value 03 A X Steps to determine Effective Address PC = 075B PC = PC + 1 = 075C EA = (PC) + X = 89 + 03 = 008C Before completion Instruction Complete A = (EA) = 44 New PC = PC + 1 = 075D After Completion 008C 075B PC A 44 X 03 New PC 075D 11 22 33 44 E6 89 E6 89 Adder EA 075B 075B 0089 008A 008B 008C 075C 075D 0089 008A 008B 008C 075C 075D LD A, (table,X) LD A, (table,X) VR02059D Table .long 11223344 Table .long 11223344 11 22 33 44 89 03 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |