Skip to contentSkip to conversation

inline ppc assembly on standalone applications

U-Boot eija_flight 2 participants 2 messages Apr 7, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I need to access board cpu registers using ppc assembly language. It is possible to add inline assembly codes in standalone applications?

Thanks,

Signature · 2 lines
View this message in context: http://www.nabble.com/inline-ppc-assembly-on-standalone-applications-tp22922264p22922264.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw
Quoted 6 lines · eija_flight

Hello,

I need to access board cpu registers using ppc assembly language. It is
possible to add inline assembly codes in standalone applications?

Yes. Its like any other application. GCC's inline assembly should work just the same.

- k