source: buchla-68k/orig/doc/Thunder/C25ADR.TXT@ 3ae31e9

Last change on this file since 3ae31e9 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 2.0 KB
Line 
1TMS320C25 Direct Addressing Mode
2--------------------------------
3
4Instruction bits
5Op-Code Address
6-------- --------
7xxxxxxxx 0AAAAAAA Direct memory address -- AAAAAAA is the address 0..7F
8
9 The address is formed from the Data Page register
10 and the address bits of the instruction.
11
12 The data page register points to one of 512 pages of
13 128 words each. The address bits point to the word
14 in the page.
15
16TMS320C25 Indirect Addressing Mode
17----------------------------------
18
19Instruction bits
20Op-Code Address
21-------- --------
22xxxxxxxx 1RIDNYYY Indirect addressing -- address is in AR(ARP)
23 ||||-+-
24 |||| |
25 |||| +------- next ARP value if N = 1
26 |||+--------- 0 = leave ARP unchanged, 1 = set ARP = YYY
27 ||+---------- 0 = no change, 1 = decrement AR(ARP) by 1 or AR0
28 |+----------- 0 = no change, 1 = increment AR(ARP) by 1 or AR0
29 +------------ 0 = use 1 as the value, 1 = use AR0 as the value
30
31 The address is contained in the Auxilliary register
32 pointed to by ARP. This register may be modified
33 and a new one selected by the appropriate choice of
34 address modes shown in the table below:
35
36Instruction bits
37Op-Code Address Notation Operation
38-------- -------- -------- -------------------------------------
39xxxxxxxx 10000YYY * No change to ARs/ARP
40xxxxxxxx 10001YYY *,Y Y -> ARP
41xxxxxxxx 10010YYY *- AR(ARP) - 1 -> AR(ARP)
42xxxxxxxx 10011YYY *-,Y AR(ARP) - 1 -> AR(ARP); Y -> ARP
43xxxxxxxx 10100YYY *+ AR(ARP) + 1 -> AR(ARP)
44xxxxxxxx 10101YYY *+,Y AR(ARP) - 1 -> AR(ARP); Y -> ARP
45xxxxxxxx 11000YYY *BR0- AR(ARP) - rcAR0 -> AR(ARP)
46xxxxxxxx 11001YYY *BR0-,Y AR(ARP) - rcAR0 -> AR(ARP); Y -> ARP
47xxxxxxxx 11010YYY *0- AR(ARP) - AR0 -> AR(ARP)
48xxxxxxxx 11011YYY *0-,Y AR(ARP) - AR0 -> AR(ARP); Y -> ARP
49xxxxxxxx 11100YYY *0+ AR(ARP) + AR0 -> AR(ARP)
50xxxxxxxx 11101YYY *0+,Y AR(ARP) + AR0 -> AR(ARP); Y -> ARP
51xxxxxxxx 11110YYY *BR0+ AR(ARP) + rcAR0 -> AR(ARP)
52xxxxxxxx 11111YYY *BR0+,Y AR(ARP) + rcAR0 -> AR(ARP); Y -> ARP
Note: See TracBrowser for help on using the repository browser.