Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->MOVEC

MOVEC    Move Control Register

This is a privileged instruction.

If supervisor state
        Rn -> Rc
else
        TRAP
    
Assembler syntax:MOVEC Rn, Rc
    
Size:  Long

Moves the contents of the specified general register (Rn) to the specified control register (Rc).  This is always a 32 bit transfer even if the control register has fewer bits.

Condition codes:  not affected

Rc can be:
    
CACRCache control regsiter
ACR0Access control unit 0
ACR1Access control unit 1
VBRVector base register
ROMBARROM base address register
RAMBARRAM base address register 0
RAMBAR0RAM base address register 0
SRAMBARRAM base address register 0
MBARModule base address register