2013-09-25 05:42 AM
''Immediately after stacking, the stack pointer indicates the lowest address in the stack frame. Unless stack alignment is disabled, the stack frame is aligned to a double-word address. If the STKALIGN bit of the Configuration Control Register (CCR) is set to 1, stack align adjustment is performed during stacking.''
I see that for my processor this is not enabled on startup, and, i don't do it, and i have not encountered problems yet. Err, so what happens if its 0, stack align adjustment NOT performed during stacking. When is it performed then.