Re: Reference doc question
Posted:
Tue Jan 24, 2017 4:27 pm
by sebraa
Are you following the original ABI (from the SDK documentation), the new ABI (with the new images), or do you have your own?
Re: Reference doc question
Posted:
Wed Jan 25, 2017 6:47 pm
by sebraa
For the new ABI, see and . Apart from that, good luck and my best wishes with your project.
Re: Reference doc question
Posted:
Fri Feb 24, 2017 5:18 pm
by sebraa
All assembly instructions follow the scheme of "instruction destination, source". So it is "MOVTS config, r16" (because it copies from r16 to config) and "MOVFS r16, config" (because it copies from config to r16).
The switchable instruction set is one of the more annoying ISA decisions in the Epiphany, because it interacts badly with interrupts. If you require ISRs to never change (or always restore) the whole config register, you could skip the gid/gie dance in normal code.