diff options
Diffstat (limited to 'my-common-code/api-asm.h')
-rw-r--r-- | my-common-code/api-asm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/my-common-code/api-asm.h b/my-common-code/api-asm.h new file mode 100644 index 0000000..b153620 --- /dev/null +++ b/my-common-code/api-asm.h @@ -0,0 +1,7 @@ +#include <stdint.h> +/** + * Reverse bytes in words + * @param in word in form abcd + * @returns word in form dcba + */ +uint32_t rev_bytes(uint32_t in); |