| Electronic Components Datasheet Search |
|
SM8521 Datasheet(PDF) 54 Page - Sharp Corporation |
|
|
|||||||||||||||||||||||||||||
SM8521 Datasheet(HTML) 54 Page - Sharp Corporation |
|
54 / 56 page ![]() SM8521 Addressing Mode There are 23 types of addressing mode to perform memory accessing in SM85CPU. The relationships between the addressing modes and the operand are shown in the following table 5. Table 5 Addressing Mode Summary NAME SYMBOL Range Operand ∗1 Implied To specify the carry(C) and interrupt enable (I) in the instruction code. Register r r = R0-R7 General register [byte] Register pair rr r = RR0, RR2, … , RR14 General register [word] Register file R R = 0 to 255 (R0-R15) Register file (0000H-007FH) and (0080H-00FFH) [byte] Register file pair RR R = 0, 2, … 254 (RR0, RR2, … , RR14) Register file (0000H-007FH) and (0080H-00FFH) [byte] Register indirect @r r = R0-R7 Memory (0000H-00FFH) [byte] Register indirect auto increment (r)+ r = R0-R7 Memory (0000H-00FFH) [byte] Register indirect auto decrement –(r) r = R0-R7 Memory (0000H-00FFH) [byte] Register index n(r)∗2 n = 00H-FFH, r = R1-R7 Memory (0000H-00FFH) [byte] Register pair indirect @rr rr = RR0, RR2, … , RR14 Memory (0000H-FFFFH) [word/byte] Register pair indirect auto increment (rr)+ rr = RR0, RR2, … , RR14 Memory (0000H-FFFFH) [word/byte] Register pair indirect auto decrement –(rr) rr = RR0, RR2, … , RR14 Memory (0000H-FFFFH) [word/byte] Register pair index nn(rr)∗3 nn = 0000H-FFFFH rr = RR2, RR4, … , RR14 Memory (0000H-FFFFH) [word/byte] Index indirect @nn(r)∗2 nn = 0000H-FFFFH r = R1-R7 Memory (0000H-FFFFH) [word] Immediate IM IM = 00H-FFH The immediate data in the instruction code [byte] Immediate long IML IML = 0000H-FFFFH The immediate data in the instruction code [word] Bit b b = 0 to 7 Register file (0000H-007FH) and memory (0080H-00FFH, FF00H-FFFFH) [bit] (1 bit of 1 byte pointed by R, n(r) and DAp) Port p Register file (0010H-0017H) [byte] Relative RA PC – 128 to PC + 127 Program memory (1000H-FFFFH) Direct DA DA = 0000H-FFFFH Memory (0000H-FFFFH) [byte] Direct short DAs DAs = 1000H-1FFFH Program memory (1000H-1FFFH) Direct special page DAp DAp = FF00H-FFFFH Program memory (FF00H-FFFFH) [byte] Direct indirect @DA DA = 0000H-FFFFH Memory (0000H-FFFFH) ∗1 The data indicated by [ ] is the unit of possible to use in Load and Arithmetic Instructions. ∗2 R0 can not be used. ∗3 RR0 can not be used. - 54 - |
|
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 |
| 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 |