|
Re: Assembly On The cRIo
If you're really interested in assembly on the cRIO, then any of the PPC "green" books on the 603e instruction sets would work. Even though the architecture has been expanding, the basics (including the instruction set) are the same. The WRS tools include gas (the GNU assembler) that can be used to assemble files into machine code.
Of course, if you open the host shell in Workbench (the button that looks like an "i" with an arrow pointing to it) you'll be able to interact with the cRIO in assembly. The commands "s, so, l, and b" all work at the assembly level. And, the GNU debugger is capable of showing mixed C/C++ and assembly. It can be really interesting to look at the C/C++ source and the assembly that was produced by the compiler.
However, I'd suggest that the GNU inline capability is likely all you'll need (if you even need that). The better investment of your time would be to look at the underlying O/S and its capabilities. VxWorks is a powerful O/S that's been used for hard real-time systems for over 20 years. You can do a lot to speed up your robots by taking advantage of the services that VxWorks provides.
HTH,
Mike
|