![Rabbit Rabbit 4000 User Manual Download Page 53](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714053.webp)
43
The Rabbit 2000 and 3000 had numerous instructions for reading and writing data to logical
addresses, but only limited support for reading and writing data to a physical memory
address. This has changed for the Rabbit 4000—a wide range of instructions has been pro-
vided to read and write to physical addresses. It is possible to use the same instructions to
write to logical addresses as well.
The 64KB logical memory space limitation can also be expanded by using the separate
instruction and data space mode. When this mode is enabled, address bit A16 is inverted
for all data accesses in the root and/or data segments, while address bit A19 is inverted for
all data accesses in the root and/or data segments
before
bank selection (physical device)
occurs. These two features allow both code and data to access separate 64KB logical
spaces instead of sharing a single space.
It is possible to protect memory in the Rabbit 4000 at three different levels: each of the
memory banks can be made read-only, physical memory can be write-protected in 64KB
blocks, and two of those 64KB blocks can be protected with a granularity of 4KB. A
Priority 3 interrupt will occur if a write is attempted in one of the protected 64KB or 4KB
blocks. In addition, it is possible to place limits around the code execution stack and gen-
erate an interrupt if a stack-related write occurs within 16 bytes of those limits.
5.1.1 Block Diagram
Memory Bank
Control
Interrupt
Request
MMIDR
MECR
RAMSR
STKSEG*
DATSEG*
SEGSIZE
WPCR
WP
x
R
WPS
y
R
WPS
y
LR
WPS
y
HR
STKCR
STK
z
LR
MB
x
CR
MTCR
MACR
ACS
x
CR
Logical
Address
Interrupt
Handler
Memory
Protection
MMU
/CS
x
/WE
x
/OE
x
D[15:0]
A[23:0]
Physical
Address
Summary of Contents for Rabbit 4000
Page 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Page 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Page 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Page 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Page 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Page 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Page 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Page 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Page 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Page 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Page 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Page 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Page 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Page 348: ...338 Rabbit 4000 Microprocessor User s Manual...