T4D_STIMER
val = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff;
stimer = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff;