From: Marcin C. <sa...@sa...> - 2010-09-08 09:41:00
|
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 |