reg_str

This macro takes a register name from a string and returns the value for the register.

Syntax:

unsigned long reg_str (name)
char
*name

where:

name                The register name.

Return Value

unsigned long    The value for the register.

Rules

You must be connected to a target.