Rev. 1.50, 10/04, page 198 of 448
When the PREF instruction is issued to the L memory area, address conversion is performed in
order to generate the physical address bits [28:10] in accordance with the SZ bit specification. The
physical address bits [9:5] are generated from the virtual address prior to address conversion. The
physical address bits [4:0] are fixed to 0. Block transfer is performed to the L memory from the
external memory which is specified by these physical addresses.
When the OCBWB instruction is issued to the L memory area, address conversion is performed in
order to generate the physical address bits [28:10] in accordance with the SZ bit specification. The
physical address bits [9:5] are generated from the virtual address prior to address conversion. The
physical address bits [4:0] are fixed to 0. Block transfer is performed from the L memory to the
external memory specified by these physical addresses.
In PREF or OCBWB instruction execution, an MMU exception is checked as read type. After the
MMU execution check, a TLB miss exception or protection error exception occurs if necessary. If
an exception occurs, the block transfer is inhibited.
When MMU is Disabled (MMUCR.AT = 0) or RAMCR.RP = 0:
The transfer source physical
address in block transfer to page 0 in the L memory is set in the L0SADR bits of the LSA0
register. And the L0SSZ bits in the LSA0 register choose either the virtual addresses specified
through the PRFF instruction or the L0SADR values as bits 15 to 10 of the transfer source
physical address. In other words, the transfer source area can be specified in units of 1 Kbyte to 64
Kbytes.
The transfer destination physical address in block transfer from page 0 in the L memory is set in
the L0DADR bits of the LDA0 register. And the L0DSZ bits in the LDA0 register choose either
the virtual addresses specified through the OCBWB instruction or the L0DADR values as bits 15
to 10 of the transfer destination physical address. In other words, the transfer source area can be
specified in units of 1 Kbyte to 64 Kbytes.
Block transfer to page 1 in the L memory is set to LSA1 and LDA1 as with page 0 in the L
memory.
When the PREF instruction is issued to the L memory area, the physical address bits [28:10] are
generated in accordance with the LSA0 or LSA1 specification. The physical address bits [9:5] are
generated from the virtual address. The physical address bits [4:0] are fixed to 0. Block transfer is
performed from the external memory specified by these physical addresses to the L memory.
When the OCBWB instruction is issued to the L memory area, the physical address bits [28:10]
are generated in accordance with the LDA0 or LDA1 specification. The physical address bits [9:5]
are generated from the virtual address. The physical address bits [4:0] are fixed to 0. Block
transfer is performed from the L memory to the external memory specified by these physical
addresses.
Содержание SuperH SH-4A
Страница 2: ...Rev 1 50 10 04 page ii of xx ...
Страница 8: ...Rev 1 50 10 04 page viii of xx ...
Страница 116: ...Rev 1 50 10 04 page 96 of 448 ...
Страница 178: ...Rev 1 50 10 04 page 158 of 448 ...
Страница 206: ...Rev 1 50 10 04 page 186 of 448 ...
Страница 231: ...Rev 1 50 10 04 page 211 of 448 Possible Exceptions Slot illegal instruction exception ...
Страница 235: ...Rev 1 50 10 04 page 215 of 448 Possible Exceptions Slot illegal instruction exception ...
Страница 238: ...Rev 1 50 10 04 page 218 of 448 Possible Exceptions Slot illegal instruction exception ...
Страница 408: ...Rev 1 50 10 04 page 388 of 448 Possible Exceptions Inexact Not generated when FPSCR PR 1 ...
Страница 445: ...Rev 1 50 10 04 page 425 of 448 Possible Exceptions Invalid operation Overflow Underflow Inexact ...
Страница 446: ...Rev 1 50 10 04 page 426 of 448 ...
Страница 468: ...Rev 1 50 10 04 page 448 of 448 ...
Страница 471: ......
Страница 472: ...SH 4A Software Manual ...