Menu

#3 RETF-with-immediate returns to incorrect address

stable
closed
Memphis
None
5
2017-11-27
2017-11-27
ereisch
No

The instruction sequence for the RETF-with-immediate appears to be incorrectly ordered. Based on the 8086 documentation I'm reading, the sequence should be:
POP IP
POP CS
SP = SP + operand

...however, the RETF instruction here performs the last operation first, meaning the RETF-with-operand will return to the wrong address.

1 Attachments

Discussion

  • Memphis

    Memphis - 2017-11-27
    • thx - i have converted this very outdated project to git and pushed your patch for this issue.
     
  • Memphis

    Memphis - 2017-11-27
    • status: unread --> closed
    • assigned_to: Memphis
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.