Currently I have an application required doing XOR calculate with N2HET micromachine over multiple PINs and set flag within N2HET RAM. My thoughts is to use XOR with SHIFT cmd and MOV32/MOV64 to set flag on an absolute address in N2HET RAM, then host CPU can access RAM and read directly. Is that doable?
Besides, I have read through technical manual, but the definition of "remote address", "IMM", "IMMEDIATE DATA FIELD", "REMP" and "REMPS" are confusing. Below are my understanding, please help verify.
Remote address: 9-bit absolute address in N2HET RAM space. Aligned to 32 bits. Moreover, N2HET RAM can be used to store either instructions or pure data. Once remote address gives an address, the target address will be treated as a normal RAM space and data can be write over RAM space freely.
IMM, IMM DATA FIELD: Current instruction data filed (32-bits)
REMP, REMPS: Not clear
And my final question is, can N2HET program read/write other peripherals register? For instance, use N2HET to initiate a SPI read, and read data received. Is that possible?
Looking forward to hear soon and many thx!