; CALCOFF.ASM v1.0 for the TI-82 ; Ported from the TI-83 by Matt A. ; Turns your ti-82 calculator off! #include "ti82.h" #include "keys.inc" .org START_ADDR .DB "CalcOFF ported by Matt A.",0 OFF: DI ; disable interrupts LD A,001H OUT (003H),A ; turn off screen LD A,000H OUT (004H),A EX AF,AF' EXX EI ; enable interrupts RET .end