|
SED1354 Datasheet, PDF (193/472 Pages) Epson Company – Color Graphics LCD/CRT Controller | |||
|
◁ |
Epson Research and Development
Vancouver Design Center
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
Programming Notes and Examples
Issue Date: 98/10/28
SED1354
X19A-G-002-06
|
▷ |