In my P2020 project i'm using assembly code the same way I was using it on a P5020 board.
The problem is that i'm getting these kind of errors.
"expected a inline assembler directive"
for this exemple in a .c file:
__asm__ __volatile__( "instruction ;"
: [clobered list] };
"Instructions must occur within code section"
for this exemple in a .asm file :
lis 3, 0x0001
ori 3, 3, 0x0001
mtspr 1010, 3
If any one can help resolving these errors, it would be very nice.