Que hace un shif register ?....Bueno....
Hay 4 maneras, con CARRY y SIN CARRY (acarreo)
A derecha a izquierda
Supongamos una condicion inicial de un byte como :
Condicion previa.
En hexadecimal : FA
En binario : 1111 1010
Condicion posterior a derecha : (sin acarreo)
---->
HEXA : 7D
BINARIO :0111 1101 Carry :0
Si repetimos instruccion :
Condicion posterior a derecha :
---->
HEXA : 3E
BINARIO :0011 1110 Carry :1
Condicion posterior a derecha : (con acarreo)
---->
HEXA : 7D
BINARIO :0111 1101 Carry :0
Si repetimos instruccion :
Condicion posterior a derecha :
---->
HEXA : BE
BINARIO :1011 1110 Carry :1
Espero lo entiendas...!!!!

gratis...