Atomic library

Because it may occasionally be necessary to execute a few instructions without interruptions, we provide a special call. The routine will call a routine in an atomic way. There will be no job switch during the execution of the routine (it is called in supervisor mode, without changing the interrupts!)

ATOMICCall
call a routine in an atomic way
The parameters of the routine will have to adhere to a few rules to allow passing them. e.g. no short or char as parameter. Double parameters count double when counting !
ATOMICNow
function to test whether the surrounding code is being executed atomicly (in supervisor)
Please note that zaproutines (as in the MEM library) are also always called atomically.