MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / lword

Function lword

Source/Amiga/dernc.cpp:321–326  ·  view source on GitHub ↗

* Return the little-endian word at p. */

Source from the content-addressed store, hash-verified

319 * Return the little-endian word at p.
320 */
321static unsigned long lword (unsigned char *p) {
322 unsigned long n;
323 n = p[1];
324 n = (n << 8) + p[0];
325 return n;
326}
327
328/*
329 * Mirror the bottom n bits of x.

Callers 3

bitread_initFunction · 0.85
bitread_fixFunction · 0.85
bit_advanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected