task: add some debugging to writeRegByte method


Signed-off-by: Chris Hannon <himynameschris@gmail.com>