Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 176 Bytes
#include <stdio.h>
long mfpvr()
{
long v = 0 ;
__asm__ ( "mfpvr %0\n\t" : "=r"(v) ) ;
return v ;
}
int main()
{
printf( "0x%lX\n", mfpvr() ) ;
return 0 ;
}
Jump to Line
Something went wrong with that request. Please try again.