User`s guide

regread
For processors in the C6xxx family, regread lets you a ccess processor
registers directly . To read the value in general p urpose register A0,
type the following function.
treg = cc.regread('A0','2scomp');
treg
now contains the two’s comple ment representation of the value
in
A0.
Now read the value stored in reg ister B2 as an unsigned binary integer,
by typing
cc.regread('B2','binary');
See Also read, regwrite, write
7-130