ish-app / ish-app/ish

x86 emulation doesn't handle LOOP instruction

Open
#2,174 0 comments 1 reaction 0 assignees View on GitHub
emulator
Dominant language
C
Stars
20.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

I guess this is a feature request, but the x86 LOOP instruction (really a family of instructions, 0xE0 LOOPN[EZ], 0xE1 LOOP[EZ], and 0XE2 LOOP) is not supported by the emulation tier. Not often going to be a problem; most compilers don't generate code containing LOOP because a manual DEC / JNZ pair is faster. But I was trying some small assembly programs and was a bit confused when I got a "Hardware: illegal instruction" error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.