Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLSHIFT DRSHIFT bug #134

Open
Ed8562 opened this issue Apr 2, 2024 · 0 comments
Open

DLSHIFT DRSHIFT bug #134

Ed8562 opened this issue Apr 2, 2024 · 0 comments

Comments

@Ed8562
Copy link

Ed8562 commented Apr 2, 2024

DLSHIFT DRSHIFT give wrong results for these corner cases:

03 01 bits/cell dlshift \ expected: 00 03 gives: 03 03
FF 00 bits/cell dlshift \ expected: 00 FF gives: FF FF
00 01 bits/cell drshift \ expected: 01 00 gives: 01 01
00 FF bits/cell drshift \ expected: FF 00 gives: FF FF

Works using 8086 cpu but not the later cpu's which mask the shift count.

There's also an issue when shift count is zero.

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

No branches or pull requests

1 participant