That's rather interesting, as I would expect a compiler to translate this to something like
```asm
add EDI, -48
cmp EDI, 10
setb AL
ret
```
anyway.