|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
||||
|
||||
|
Re: Assembly On The cRIo
You not only need to use PowerPC assembly, but you need to use the flavor of assembly favored by gcc/gas (at&t syntax, which is just terrible IMHO). If you're doing stuff inline, you also have to make sure to respect the gcc's ABI for the platform, and don't clobber any registers that it isn't expecting you to clobber.
This is mildly useful, just google "gcc powerpc inline assembly"l: http://dslab.lzu.edu.cn:8080/members...rogramming.pdf Keep in mind that really, there are *very* *very* few cases where you would actually want to use assembly language. Most of the time it's not worth it. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [OCCRA]: Assembly on the cortex | Fireball9199 | OCCRA Programming | 3 | 04-10-2010 21:35 |
| How do you run the pneumatics through the CRio w/o using the Jaguars and the Spikes | brreadd | Pneumatics | 3 | 20-11-2009 15:35 |
| Reimaging the cRio Issues there are no cRio devices on the subnet | Stuart | FRC Control System | 2 | 25-02-2009 23:41 |
| Assembly of the AndyMark gearbox in Pro/E? | jholland | Pro ENGINEER / Creo | 6 | 09-01-2009 17:59 |
| Importing assembly into an assembly... | James Green | Inventor | 8 | 22-01-2004 22:17 |