Skip to content
⌘ NSIS Forum Archive

$1 vs $R1

3 posts

#

$1 vs $R1

Hello,

I haven't used NSIS in a while and I can't seem to find any explanation what $R1 is in contrast to $1. Anyone able to shed some light?

Snowbird
Joost Verburg#
There are both registers that are often used in shared code. There is no difference. Usually $R0-$R9 are used for more temporary values, but it's up to you.

For global values, it's easier to use your own variables:

Var MYVAR

StrCpy $MYVAR "bla"