AnsweredAssumed Answered

How can I read Control Register VBR with CodeWarrior Coldfire assembler?

Question asked by John Ka Tak Chan on Oct 7, 2016
Latest reply on Oct 18, 2016 by Carlos_Mendoza

I am porting Motorola M68000 assembly code to Coldfire M54452 processor using CodeWarrior

Coldfire version 7.1.

The assembly code I'm porting requires reading of some Control Register

for example VBR:


movec.l  VBR,a0


When I compile this line of code, the assembler generates the following error:

Error: Move from control register not allowed on the current processor type(s).


Is there a way to read the control register, in this case VBR?