Skip to content

Does xtize handle shift counts > 31 in CL by masking the shift count? (186 instruction set detection) #3

@ecm-pushbx

Description

@ecm-pushbx

I was wondering whether xtize allows to detect an 186 in the usual way, that is to check whether large shift counts passed to a shift/rotate instruction in CL are masked with 1Fh. Example CPU detection: https://hg.pushbx.org/ecm/ldebug/file/0b8e271496a3/source/init.asm#l3056

Well-behaved programs may try to detect an 186 or 286 in this way before running instructions not supported on the 8088/8086. So I think xtize should also make these checks succeed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions