Anette_Erlandsson
Member
Hi, I'm trying to access a DB whith indirect adressing.
When I have them in this order "Status_HMI".receptnummer gets the value stored in the DB that AR1 + 28.0 points to but not "Status_HMI".datalogsnummer
L DBW [AR1,P#28.0]
T "Status_HMI".receptnummer
L DBW [AR1,P#26.0]
T "Status_HMI".datalogsnummer
When I switch order like down below "Status_HMI".datalogsnummer gets the value stored in AR1 + 26.0 but not "Status_HMI".receptnummer
L DBW [AR1,P#26.0]
T "Status_HMI".datalogsnummer
L DBW [AR1,P#28.0]
T "Status_HMI".receptnummer
I have no clue to why this happens. Can anybody help me?
When I have them in this order "Status_HMI".receptnummer gets the value stored in the DB that AR1 + 28.0 points to but not "Status_HMI".datalogsnummer
L DBW [AR1,P#28.0]
T "Status_HMI".receptnummer
L DBW [AR1,P#26.0]
T "Status_HMI".datalogsnummer
When I switch order like down below "Status_HMI".datalogsnummer gets the value stored in AR1 + 26.0 but not "Status_HMI".receptnummer
L DBW [AR1,P#26.0]
T "Status_HMI".datalogsnummer
L DBW [AR1,P#28.0]
T "Status_HMI".receptnummer
I have no clue to why this happens. Can anybody help me?