Rabbit 6000 User’s Manual
digi.com
66
5.3.5 Separate Instruction and Data Space
To make better use of the 64 KB of logical space, an option is provided to map code and data accesses in
the same address space to separate devices. This is accomplished by enabling the inversion of A16 and the
most-significant bit of the bank select bits for accesses in the root and data segments. Careful use of these
features allows both code and data to separately use up to 64 KB of logical memory.
The RAM segment register (RAMSR) provides a shortcut for updating code by accessing it as data. It pro-
vides a “window” that uses the instruction address decoding when read or written as data. This mapping
will only occur when the RAMSR is within the root or data segments; the RAMSR will be ignored if it is
mapped to the stack segment or XPC window.
ORG
0000h
XOR
A
; a <= 00000000
XOR
A
LD
H, A
; h <= 00000000
LD
H, A
SCF
SCF
RLA
; a <= 00000001
RLA
; a <= 00000010
LD
B, A
; b <= 00000010
LD
B, A
SCF
SCF
ADC
A, B
; a <= 00000101
ADC
A, B
; a <= 00000111
ADD
A, A
; a <= 00001110
ADD
A, A
; a <= 00011100
SCF
SCF
ADC
A, H
; a <= 00011101
ADC
A, H
LD
L, A
; l <= 00011101
LD
L, A
IOI
; two IOIs same as one
IOI
LD
(HL), B
; MACR <= 00000010
LD
(HL), B
; dummy memory write (no /WE
NOP
; required delay to start
NOP
; up the 16-bit bus
Содержание 6000
Страница 1: ...Rabbit 6000 Microprocessor User s Manual 90001108_J...
Страница 11: ...Rabbit 6000 User s Manual digi com 11 1 3 Block Diagram Figure 1 1 Rabbit 6000 Block Diagram...
Страница 43: ...Rabbit 6000 User s Manual digi com 43 4 1 1 Block Diagram...
Страница 57: ...Rabbit 6000 User s Manual digi com 57 5 1 1 Block Diagram...
Страница 88: ...Rabbit 6000 User s Manual digi com 88 7 2 Block Diagram...
Страница 115: ...Rabbit 6000 User s Manual digi com 115 11 1 1 Block Diagram...
Страница 127: ...Rabbit 6000 User s Manual digi com 127 12 1 1 Block Diagram...
Страница 138: ...Rabbit 6000 User s Manual digi com 138 13 1 1 Block Diagram...
Страница 154: ...Rabbit 6000 User s Manual digi com 154 15 1 1 Block Diagram...
Страница 163: ...Rabbit 6000 User s Manual digi com 163 16 1 1 Block Diagram...
Страница 170: ...Rabbit 6000 User s Manual digi com 170 17 1 1 Block Diagram...
Страница 177: ...Rabbit 6000 User s Manual digi com 177 18 1 1 Block Diagram...
Страница 186: ...Rabbit 6000 User s Manual digi com 186 19 1 1 Block Diagram...
Страница 230: ...Rabbit 6000 User s Manual digi com 230 22 2 Block Diagram...
Страница 234: ...Rabbit 6000 User s Manual digi com 234 Figure 22 3 Sample Slow A D Converter Circuit...
Страница 287: ...Rabbit 6000 User s Manual digi com 287 25 1 1 Block Diagram...
Страница 310: ...Rabbit 6000 User s Manual digi com 310 26 1 1 Block Diagram...
Страница 323: ...Rabbit 6000 User s Manual digi com 323 28 1 1 Block Diagram...
Страница 351: ...Rabbit 6000 User s Manual digi com 351 31 1 4 Block Diagram...
Страница 361: ...Rabbit 6000 User s Manual digi com 361 32 1 1 Block Diagram...
Страница 369: ...Rabbit 6000 User s Manual digi com 369 33 2 Block Diagram...
Страница 390: ...Rabbit 6000 User s Manual digi com 390 35 1 1 Block Diagram...
Страница 408: ...Rabbit 6000 User s Manual digi com 408...
Страница 410: ...Rabbit 6000 User s Manual digi com 410...
Страница 411: ...Rabbit 6000 User s Manual digi com 411...
Страница 420: ...Rabbit 6000 User s Manual digi com 420 Figure 37 1 Memory Read and Write Cycles...