Skip to content

Fix incorrect jle condition codes#300

Open
josephgeis wants to merge 1 commit intosnare:masterfrom
josephgeis:josephgeis-fix-jle
Open

Fix incorrect jle condition codes#300
josephgeis wants to merge 1 commit intosnare:masterfrom
josephgeis:josephgeis-fix-jle

Conversation

@josephgeis
Copy link

I was debugging a program and noticed that a jump was being made, but the jump indicator was indicating otherwise. I looked up the condition codes in the Intel Architectures manual and found that the correct condition codes for jle/jng should be ZF=1 or SF≠OF, but they were incorrectly set here. See Vol. 2A 3-547 or page 1143 of the combined PDF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant