SETS and SETD opcode bug?
Peter Jakacki
Posts: 10,193
in Propeller 2
I found out why Tachyon wasn't accessing the SD card properly, I use COG@ and COG! to read and write COG registers and these are implemented with SETS and SETD with two nops between them and the affected instruction. Since I wasn't able to read cog memory to see what had happened I just rewrote use the new ALTS instead and this works well and everything looks fine using PNut V5a. So I also substituted SETD with ALTD and that is much simpler too.
Now the questions, what happened that SETS and SETD doesn't work anymore and can I clarify the operation of ALTx as it seems it doesn't actually modify the instruction in memory, only the instruction in the pipeline, which makes sense.
Now the questions, what happened that SETS and SETD doesn't work anymore and can I clarify the operation of ALTx as it seems it doesn't actually modify the instruction in memory, only the instruction in the pipeline, which makes sense.
Comments
In Pnut V5 their opcodes were reversed.
Are you sure you were using 5a?