project: port state and shadow registers (16f628a)