MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / rotr32

Function rotr32

core/lcd.c:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#define c444(w) (((w) << 4 & 0xF000F000) | ((w) << 3 & 0x07800780) | ((w) << 1 & 0x001E001E))
24
25static inline uint32_t rotr32(uint32_t val, uint_fast8_t amount) {
26 return (val >> amount) | (val << (-amount & 31));
27}
28
29static inline uint32_t lcd_next_word(uint32_t **dat) {
30 uint32_t word = from_le32(**dat);

Callers 2

emu_lcd_drawmemFunction · 0.85
lcd_wordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected