To read the eax register in an x86 processor called cpu0, the command invocation is read-reg cpu0 eax
. There is also a namespace version cpu0.read-reg eax
or the more convenient variant %eax that reads a register from the current frontend processor.
If no processor is selected using cpu-name, the current frontend processor is used.