public void handler() {
            /*UINT16*/
            int t;
            CLR_NZC();
            t = getDreg();
            m6800.cc |= (t & 0x0001);
            t >>= 1;
            SET_Z16(t);
            setDreg(t);
        }