StgCRun.c--inline assembler & MASM

2007-07-09 Thread Peter Tanski
Hello Simon and Ian, I'm trying to answer my own questions. After looking around I found that StgRun() is used in RtsStartup.c and Schedule.c so it is pretty clear that StgRun() needs to be implemented in a separate assembler module (i.e., no inline asm). I would rather use NASM but if yo

StgCRun.c--inline assembler & MASM

2007-07-08 Thread Peter Tanski
Hello Simon and Ian, I have been porting the inline assembler portions of the RTS to MS CL/ ICL style inline assembler, a limited version of MASM. For the most part it is a simple matter of translation (with some careful review of compiler output). There is one problem in StgCRun.c:StgRun(