Hello,
I published a small hack where a single binary file can be uploaded to Arduino, STM32 or 8051 processor and it behaves the same - blinks a LED. Of course it cannot run the same instructions on all architectures. I used a little hand-crafted assembly and lot of knowledge about each architecture instructions.
Let me know if someone is going to make a brainfuck implementation to make a truly portable binary