Motorola MC68340 User Manual page 215

Integrated processor with dma
Hide thumbs Also See for MC68340:
Table of Contents

Advertisement

Result Data:
Always returns 32 bits of data, regardless of the size of the register being read. If the
register is less than 32 bits, the result is returned zero extended.
Register Field:
The system control register is specified by the register field (see Table 5-24).
Table 5-24. Register Field for RSREG and WSREG
Return Program Counter (RPC)
Current Instruction Program Counter (PCC)
Status Register (SR)
User Stack Pointer (USP)
Supervisor Stack Pointer (SSP)
Source Function Code Register (SFC)
Destination Function Code Register (DFC)
Temporary Register A (ATEMP)
Fault Address Register (FAR)
Vector Base Register (VBR)
5.6.2.8.7 Write System Register (WSREG). Operand data is written into the specified
system control register. All registers that can be written in supervisor mode can be written
in BDM. Several internal temporary registers are also accessible.
Command Format:
15
14
13
12
0
0
1
0
Command Sequence:
Operand Data:
The data to be written into the register is always supplied as a 32-bit long word. If the
register is less than 32 bits, the least significant word is used.
Result Data:
"Command complete" status is returned when register write is complete.
5-78
Freescale Semiconductor, Inc.
System Register
11
10
9
8
0
1
0
0
WSREG
MS DATA
???
"NOT READY"
XXX
"ILLEGAL"
MC68340 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Select Code
0000
0001
1011
1100
1101
1110
1111
1000
1001
1010
7
6
5
4
1
0
0
0
LS DATA
NEXT CMD
"CMD COMPLETE"
"NOT READY"
NEXT CMD
"NOT READY"
3
0
REGISTER
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents