There is a function called off() in system.h which turns the calculator off. Alternatively, in ASM, do trap #4. Zeljko