(8) @RRG

■ Operation

Reads and/or sets the value of the specified memory register. If "register number" only is specified, the current value is read. If [:Setting value] is specified, the value is set in the specified register.

■ Format

@RRG(Register number<3 digits>)[:Setting value<hexadecimal value>] CR

■ Response

XXH : Register contents

OK : Normal end

E1 : Command error

■ Example

=>"@RRG002" CR  Reads the contents of register REG002.

<="00H" CR LF  Outputs the memory register value (00h).

=>"@RRG002:01" CR  Sets the value of REG002 to 01h.

<="OK" CR LF  Normal end.