donquixote
Joined: 21 Jul 2008 Posts: 15 Location: Shanghai, China
|
Puzzle on Access on SR(Status Register) In CCS V4.080 |
Posted: Wed Nov 12, 2008 2:24 am |
|
|
Hello, Guys,
When I am compiling my code with CCS V4.080, I met a puzzle.
Code module attached below,
#asm
mov SR, W0
mov U1STA, W1
.........
When compiling, the error message occurs,
Error 12, LineXXXX: Undefined identifier SR.
And I have checked the Special Register in the CCS, the SR is accessable.
Have anyone met it before and help me out?
Thanks & Regards,
donquixote _________________ Don Quixote |
|