Epson S1D13504 Technical Manual page 193

Color graphics lcd/crt controller
Hide thumbs Also See for S1D13504:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/01
WORD seRotateByteLeft(BYTE val, BYTE bits)
Description:
Rotates the bits in "val" left as many times as stated in "bits".
Parameter:
val - value to rotate
bits - how many bits to rotate
Return Value: bits 15-8: non-zero if carry flag set
bits 7-0: rotated byte
WORD seRotateByteRight(BYTE val, BYTE bits)
Description:
Rotates the bits in "val" right as many times as stated in "bits".
Parameter:
val - value to rotate bits - how many bits to rotate
Return Value: bits 15-8: non-zero if carry flag set
bits 7-0: rotated byte
Page 53
S1D13504
X19A-G-002-07

Advertisement

Table of Contents
loading

Table of Contents