On Wed, 8 Sep 2010, pito wrote: > Marcin, I am ansewering to you in this thread: No, R16 and R17 are > ok for my cpu, but not correct from OS prospecive. I've spent a > sleepless night with playing with registers against definitions in > macros.asm (it seems Registers 10,11,12,13, are not used by OS but > in reality code crashes) and the preliminary result is:
pito, please please - study the Amforth 4.0 Technical Guide - part 4.2 describes the register usage. Second, please do study the assembler listing (the large file I told you once to generate) - it contains whole source of the amforth compiled *including* generated machine code - this is the best for debugging assembly. --Marcin ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel