| | RE: legOS ... really a stack question
|
| (...) .bss also contains global data initialized to 0, which is even worse if it's not cleared. -Allen -- Did you check the web site first?: (URL) (26 years ago, 2-Jan-99, to lugnet.robotics)
| | | | RE: legOS ... really a stack question
|
| (...) Good point, I will add the code to clear it to my crt0.s before calling constructors: mov.w #__bss,r2 mov.w #__end,r3 sub.b r0l,r0l cmp.w r3,r2 bhs .Lbss_done .Lmore_bss: mov.b r0l,@r2 adds #1,r2 cmp.w r3,r2 blo .Lmore_bss .Lbss_done: ... John (...) (26 years ago, 3-Jan-99, to lugnet.robotics)
| |