Table of Contents        Previous topic       Next topic       


CPUSHL    Push and Invalidate Cache

This is a privileged instruction.

Assembler Syntax:    CPUSHL (An)

Size:    Unsized.

This instruction pushes modified cache lines and possibly invalidates the selected cache entries.  If the cache location addressed by the operand contains modifed data, the contents of the cache line are pushed to memory and the state of the line is changed to 'valid'.  If the CDPI bit of the CACR register is clear, the addresses cache entry is invalidated, otherwise the cache entry is unchanged.  The CACR is accessed using the MOVEC instruction.

Bits [n:4] of An define the cache set,where n is cache size dependent.

Condition Codes: Not affected.