View Single Post
Old 06 July 2023, 09:58   #247
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,483
Quote:
Originally Posted by meynaf View Post
.., but not x86 (didn't check though, this is what i've read).
From this page: https://c9x.me/x86/html/file_module_x86_id_273.html
it seems that starting from Intel 286 processor, the rotation is masked to 5 bits. and the masking is done in all operating modes, including the virtual-8086 mode (see note at the bottom of the page).
EDIT: of course the same for shift instructions (https://c9x.me/x86/html/file_module_x86_id_285.html)
I've written code for x86 several times, in a distant past, but never bothered about it and probably never considered it. Nice sh*t...

But we are off-topic

Last edited by ross; 06 July 2023 at 10:05.
ross is offline  
 
Page generated in 0.05526 seconds with 11 queries