I/O emulation example: regC += regA + regB