I’m asking this because I know there’s a way to use binary files instead of source files.
Also, I’m guessing that with an assembly language, it would be easier to simulate function pointers. Unless the assembly on a GPU is totally different from the one on a CPU.
You might want to take a look at PTX. NVIDIA provides a document describing it in the CUDA 4.0 documentation.
http://developer.nvidia.com/nvidia-gpu-computing-documentation
NVIDIA describes PTX as “Ta low-level parallel thread execution virtual machine and instruction set architecture (ISA). PTX exposes the GPU as a data-parallel computing device.” Not exactly like x86 assembly, but you might find it interesting reading.