Re: Not just assembly.
This used to be a technique to get more memory by using constants as variables.
On the IBM 1620 FORTRAN copying from an uninitialized variable could cause memory to be cleared as the uninitialized variable had no "flag" indicating "end of number".
On the SIGMA 7 you could intersperse machine instructions in your FORTRAN code. I once wondered why why a SW instruction (Store Word) wasn't changing memory until I realized the opcode was STW.
Finding your own bugs is hard.