ole> For me it sounds much cleaner to run as most code as possible in user mode and implement such context switch functions??? FYI - some arm926 chips do not allow accessing system registers from user mode. -Duane.