mjoha266
Member
Hello aganin.
I am trying to set a variable in a datablock, and I don't want to use direct adressing...
L #P_nr
OPN DB [#Temp_Int]
T [#CC]
So I want to place the P_nr [Int] variable in (if Temp_Int = 2) DB2.CC so to speak.
Is there any possible solution for this problem? or do I have to use something like:
L #P_nr
OPN DB [#Temp_Int]
T DBW 3 //CC is currently located at byte 3
/Thanks
I am trying to set a variable in a datablock, and I don't want to use direct adressing...
L #P_nr
OPN DB [#Temp_Int]
T [#CC]
So I want to place the P_nr [Int] variable in (if Temp_Int = 2) DB2.CC so to speak.
Is there any possible solution for this problem? or do I have to use something like:
L #P_nr
OPN DB [#Temp_Int]
T DBW 3 //CC is currently located at byte 3
/Thanks