Skip to content

Fix 16-bit mode instruction pointer wrap-around #1253

Open
@donno2048

Description

@donno2048

Not all x86 CPUs are even able to run in 32-bit mode, which creates portability issues.

Specifically, the problem I'm facing which prompted me to open this issue is running code that relies on the fact that on 16-bit mode when ip is 0xFFFF it'll wrap back to 0, v86 breaks this functionality as it uses eip causing it to continue to 0x10000.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions