??? 12/18/09 10:05 Read: times |
#171715 - this sort of job is best done in ssembler Responding to: ???'s previous message |
Jan Waclawek said:
... this sort of job is best done in inline assembler Actually, this is best done in assembler - completely away from 'C'. If you do it inline, you are still wrapped in the trappings of 'C'. - this not standard C and is specific for your compiler, so either tell us what compiler are you using, or consult the manual. Absolutely C aficionados might come up with some function pointer-based solution, but that's no nicer, and machine-specific (read: non-portable) either. Agreed! So don't mess about; just do it in assembler - where it belongs! |