| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
PM0044 Datasheet(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 Datasheet(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 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |