Soo... I have been wondering about this for a while.
Does AR or Gecko support some kind of functionality to set the value of a RAM Address (8-bit, 16-bit, 32-bit) equal to that of the value of another RAM Address (8-bit, 16-bit, 32-bit)?
Let's take the following example.
RAM Address 80002FB0 is set to the value of 0x3F and RAM Address 80002FC2 is set to the value of 0x00. Can I immediately set 80002FC2 (0x00) to that which 80002FB0 (0x3F) is? In this example the value should be set to 0x3F, but let's see the value of 80002FB0 can change, and I want the want it currently has.
In terms of regular coding:
Taking AR, that could be done with the code types 00 through 05, which are simple writes to a fixed value.
I am however NOT looking to do the following
I am also NOT looking to do the following either
Taking AR, that could be done with the code types 80 through 85, which are simple additions or subtractions.
AR or Gecko doesn't really mater for me.
Does AR or Gecko support some kind of functionality to set the value of a RAM Address (8-bit, 16-bit, 32-bit) equal to that of the value of another RAM Address (8-bit, 16-bit, 32-bit)?
Let's take the following example.
RAM Address 80002FB0 is set to the value of 0x3F and RAM Address 80002FC2 is set to the value of 0x00. Can I immediately set 80002FC2 (0x00) to that which 80002FB0 (0x3F) is? In this example the value should be set to 0x3F, but let's see the value of 80002FB0 can change, and I want the want it currently has.
In terms of regular coding:
Code:
var a = 3F;
var b = 0;
b = a;
Taking AR, that could be done with the code types 00 through 05, which are simple writes to a fixed value.
I am however NOT looking to do the following
Code:
var a = 3F;
var b = 0;
b = 3F;
I am also NOT looking to do the following either
Code:
var a = 3F;
var b = 0;
b += 3F;
Taking AR, that could be done with the code types 80 through 85, which are simple additions or subtractions.
AR or Gecko doesn't really mater for me.