Add `--from` and `--to` options to regmem