by karmakaze · 5y ago · 0 comments
...
b? addr1
...else stuff
jmp addr2
addr1:
...then stuff
addr2:
...always stuff
What's more interesting is the generalization to any boolean expression, not the naming/placement of the else/always parts.What did blow me away was seeing a function for the first time.
It's all down to comparing hex in 2 registers and jump. JNE, JE, JMP etc.