I am trying to port an existing 68K program to Coldfire using CodeWarrior. The existing program was developed using a different tool years ago. (The tool is obsolete and will not run with Windows 7) The existing program used inline assembly to display the contents, and in some cases set the contents of the control registers. As an example,
movec VBR, D0
where reg_value is a global C variable.
This works on the old tool but not with CodeWarrior and results in "illegal use of asm inline function" errors. How can I access the control registers within C/C++?
Thanks for any help you can provide.