|
|
|
|
|
by mianos
658 days ago
|
|
I can't see what is 'undefined' here. I would expect the program to read the first byte of memory and test if it is 0 or not. If I was writing this in assembly for an MCU, I would write exactly the same code in the target instructions. There may be many environments where this would be invalid, but why would the compiler optimise this out based on, say, the operating system, if it is valid code? |
|