Created
February 22, 2022 00:31
-
-
Save febnug/de23b343559414f3efecc5cace75192a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xor dx,dx ; zf = 0 | |
div sp ; or any other reg that <> 0 | |
jnz .AMD ; on any div/idiv operation ZF flag will not be changed on Intel but will be set on AMD | |
.Intel: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment