Rev. 1.50, 10/04, page 276 of 448
10.1.35 MOVCA.L (Move with Cache Block Allocation): Data Transfer Instruction
Format
Operation
Instruction Code
Cycle
T Bit
MOVCA.L R0,@Rn
R0
→
(Rn)
(without fetching cache
block)
0000nnnn11000011
1 —
Description:
This instruction stores the contents of general register R0 in the memory location
indicated by effective address Rn. This instruction differs from other store instructions as follows.
If write-back is selected for the accessed memory, and a cache miss occurs, the cache block will
be allocated but an R0 data write will be performed to that cache block without performing a block
read. Other cache block contents are undefined.
Notes:
None
Operation:
MOVCAL(int n) /*MOVCA.L R0,@Rn */
{
if ((is_write_back_memory(R[n]))
&& (look_up_in_operand_cache(R[n]) == MISS))
allocate_operand_cache_block(R[n]);
Write_Long(R[n], R[0]);
PC += 2;
}
Possible Exceptions:
•
Data TLB multiple-hit exception
•
Data TLB miss exception
•
Data TLB protection violation exception
•
Initial page write exception
•
Data address error
Summary of Contents for SuperH SH-4A
Page 2: ...Rev 1 50 10 04 page ii of xx ...
Page 8: ...Rev 1 50 10 04 page viii of xx ...
Page 116: ...Rev 1 50 10 04 page 96 of 448 ...
Page 178: ...Rev 1 50 10 04 page 158 of 448 ...
Page 206: ...Rev 1 50 10 04 page 186 of 448 ...
Page 231: ...Rev 1 50 10 04 page 211 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 235: ...Rev 1 50 10 04 page 215 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 238: ...Rev 1 50 10 04 page 218 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 408: ...Rev 1 50 10 04 page 388 of 448 Possible Exceptions Inexact Not generated when FPSCR PR 1 ...
Page 446: ...Rev 1 50 10 04 page 426 of 448 ...
Page 468: ...Rev 1 50 10 04 page 448 of 448 ...
Page 471: ......
Page 472: ...SH 4A Software Manual ...