View Single Post
  #2   Spotlight this post!  
Unread 20-11-2010, 14:16
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Assembly On The cRIo

I'll answer as many of these questions as I can.
Quote:
Originally Posted by davidthefat View Post
Now since x86 systems are CISC, most microcontrollers are RISC, so they have 2 totally different Assembly languages from what I understand.
Every different processor architecture has its own assembly language. x86 is one. MIPS has another. ARM has another. PowerPC has another. Even within x86, different processors support different instruction sets.

Quote:
I heard from my friend that the cRio has a PowerPC core, is that true?
Yes.

Quote:
Second question, the cRio having a FPGA, is that a whole different ball park?
Here's where my knowledge becomes thin. I'll answer "yes," as they are programmed with hardware description languages.

Quote:
Is it on the same playing field as CISC an RISC?
I'm not entirely sure of the question, but I think that hardware description languages are more high-level than assembly (the FPGA equivalent of which would be something like a "logic circuit").


You should be able to program the cRIO in assembly, given compiler support for it (which almost all modern compilers have). The FPGA, however, is not a processor and therefore has no instruction set (and thus no assembly language exists for it).

Quote:
Then do I have to use the PowerPC assembly?
Yes, you would, since the cRIO is PowerPC.

I hope this answers some of your questions.