Andes Workshop http://forum.andestech.com/ |
|
How to get PC value?(在程式裡如何印出PC值?) http://forum.andestech.com/viewtopic.php?f=16&t=636 |
Page 1 of 1 |
Author: | cindy [ Thu Oct 25, 2012 11:01 am ] |
Post subject: | How to get PC value?(在程式裡如何印出PC值?) |
How to get PC value?(在程式裡如何印出PC值?) In C program, using the following statement: Code: #include "nds32_intrinsic.h" ... int tmp; tmp=__nds32__mfusr(NDS32_USR_PC); In assembly program: Code: MFUSR rt5,PC
|
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |