x86 assembly can be written with the src operand first, or the dest. My docs just say the '1st operand'. http://t.co/avRG1iS0jW Argh!
miniblog.
Related Posts
One thing I've learnt from writing a toy compiler is that this instruction usually means you have a bug:
add %al,(%rax)
This is the instruction encoding of all zeroes. It means you've jumped to the wrong place, or screwed up the size of an operand.
I see mypy more as a refactoring tool, but I'm always pleasantly surprised when it catches issues. It caught a bug here!
demo.py:96: error: Unsupported operand types for >= ("int" and "Optional[int]")
(In the code I've checked max_val is not None, but used min_val.)
