Andes Workshop

It is currently Wed Nov 21, 2018 9:25 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to get PC value?(在程式裡如何印出PC值?)
PostPosted: Thu Oct 25, 2012 11:01 am 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 132 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group