Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

x86 flags after bit shifts with count = 0 (Developers)

posted by Rugxulo Homepage, Usono, 25.11.2008, 06:47

> I needed to know what happens to the x86 flags after executing bit shift
> instructions (SHR, SHL, etc.) when the shift count given in CL is zero.
> Unfortunately, virtually all my books and electronic documentation only
> describe the cases CL = 1 and CL > 1.

Unless you're just really really curious or trying to write an x86 emulator, I can't see much use for this. But anyways .... ;-)

> So I guess I can assume this is true for all x86 processors... Anyone with
> original 8088/8086 manuals?

Dunno, don't have the manuals. Try bugging Jim Leonard to test on his 8088. Or find someone else online who has one (Dave Dunfield, perhaps?).

However, I wouldn't trust an emulator for this (e.g. Joris' Retro) since they all have bugs.

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum