REG2PAGE
if (REG2PAGE(reg) != priv->current_page) {
REG_CURPAGE, REG2PAGE(reg)
priv->current_page = REG2PAGE(reg);