I'm using Studio5 latest Version and try to program a Tiny9.
When I define some global variables the compiler and linker will store them in RAM at location 0x0040 where the 32 bytes of RAM are located.
But when I use the simulator and debug to the following code, I wonder about the "unknown" STS instruction.
Also the instructions STD, STS, LDD are not working in simulator.
myState = STATE_LED_ON; 00000081 LDI R24,0x04 Load immediate 00000082 ???STS 0x0040,R24 Store direct to data space (Not supported by current part)
Now I tried with "release" settings and test a small application on hardware.
The result looks like in simulator!
==> Code using STS, LDD, STD instructions doesn't work!
Do I have to do some settings in Studio 5 to fix that problem?
Thanks for any help in advance.