include all files

This commit is contained in:
2025-12-22 13:34:10 +01:00
commit 2f1714851f
7 changed files with 125 additions and 0 deletions

8
include/asm.h Normal file
View File

@@ -0,0 +1,8 @@
/* Contains some assembly-specific instructions
* that ought to be beneficial*/
#pragma once
#define lo8(x) ((x) & 0xFF) /* Use bits 0..7 of x. */
#define hi8(x) (((x) >> 8) & 0xFF) /* Use bits 8..15 of x. */
#define hlo8(x) (((x) >> 16) & 0xFF) /* Use bits 16..23 of x. */
#define hhi8(x) (((x) >> 24) & 0xFF) /* Use bits 24..31 of x. */