Difference between LONG and RES
peterz
Posts: 59
In an ASM program which is the difference between LONG and RES variables ?
I understand that variables stated as LONG can be initialized, but other than this, is there any difference ?
For example, between the following two sentences:
myvar LONG 0
OR
myvar RES 1
I ask because I have changed some RES variables to LONG so as to have them initialized and my program ceased to work!
·
I understand that variables stated as LONG can be initialized, but other than this, is there any difference ?
For example, between the following two sentences:
myvar LONG 0
OR
myvar RES 1
I ask because I have changed some RES variables to LONG so as to have them initialized and my program ceased to work!
·
Comments
OK
long
long
res
res
Not Ok
Long
res
Long
res
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
8 + 8 = 10