Fixed SYS_READ and SYS_WRITE to return correct values

UCC git Repository :: git.ucc.asn.au