There are 20 user-defined pseudo-registers ($t0, $t1, …, $t19) in windbg/cdb . To have scripts with variable names as @$t0 and @$t1 isn’t helpful for readability. The trick to avoid this is by using the “aS” command.

Here is an example, for a loop variable I would like to use a variable name like “i” instead of “@$t0” and to use “i”  as a variable  here is the command

aS i “@$t0”

Now”i” is just an alias for “@$t0”.  Here is another example of using “i” in the comparison statement

j (${i} =0) ‘.echo is zero’ ; ‘.echo is not zero’

This is the command to remove the alias without evaluating it.

ad ${/v:i}