Hi All. The below applies for a 28X2 I am working with.
I've done some searching and havent turned anything up on this so just wanted to put it out there.
I am having problems storing word variables in high number scratchpad locations. Using the "put location,word w0" works fine for scratchpad locations like 200 but if i try put 800,word w0 when i retrieve it it comes back garbled.
I've tested in the simulator and live with the following code
================
w0 = 1000
w1 = 2222
put 883,word w0
put 258,word w1
w0 = 0
w1 = 0
get 883, word w0
get 258,word w1
=========
where it should return w0 as 1000 and w1 as 2222 w0 becomes 2280 while w1 is returned normally as 2222.
The wierd thing is if i remove the code do deal with scratchpad 258 w0 comes back normally. This has me extreemly confused and if anyone could help i would appreciate it.
I've done some searching and havent turned anything up on this so just wanted to put it out there.
I am having problems storing word variables in high number scratchpad locations. Using the "put location,word w0" works fine for scratchpad locations like 200 but if i try put 800,word w0 when i retrieve it it comes back garbled.
I've tested in the simulator and live with the following code
================
w0 = 1000
w1 = 2222
put 883,word w0
put 258,word w1
w0 = 0
w1 = 0
get 883, word w0
get 258,word w1
=========
where it should return w0 as 1000 and w1 as 2222 w0 becomes 2280 while w1 is returned normally as 2222.
The wierd thing is if i remove the code do deal with scratchpad 258 w0 comes back normally. This has me extreemly confused and if anyone could help i would appreciate it.