serial/serial_arc: set registers address during compilation