Contents | < Browse | Browse >
NAME
MOVEC -- Move to/from control register
SYNOPSIS
MOVEC Rc,Rn
MOVEC Rn,Rc
Size = (Long)
FUNCTION
Copy the contents of the specified control register to the specified
general register or copy from the general register to the control
register. This is always a 32-bit transfer even though the control
register may be implemented with fewer bits.
FORMAT
-----------------------------------------------------------------
|15 |14 |13 |12 |11 |10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 |dr |
|---|-----------|-----------------------------------------------|
|A/D| REGISTER | CONTROL REGISTER |
-----------------------------------------------------------------
A/D indicates type of Rn register:
0->Rn=Dn
1->Rn=An
"REGISTER" indicates the number of Rn register.
dr specifies direction of move:
0->Rc to Rn.
1->Rn to Rc.
"CONTROL REGISTER" specifies one of the control registers:
Hexa value Control Register
~~~~~~~~~~ ~~~~~~~~~~~~~~~~
000 SFC
001 DFC
002 CACR
800 USP
801 VBR
802 CAAR
803 MSP
804 ISP
All others hexa codes generates an exception: illegal instruction.
RESULT
None.
SEE ALSO
MOVE to/from USP