Macro for Div and Mod

This commit is contained in:
KEKW555 2024-01-06 23:55:01 +05:30 committed by GitHub
parent f7576ba1d0
commit cbebaa74a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -62,4 +62,6 @@ int MultiBoot(struct MultiBootParam* mp);
s32 Div(s32 num, s32 denom);
#define DivAndMod(num, denom) ((union SplitDWord)(*(MultiReturnTypeTwoS32Arg)(&Div))(num, denom))
#endif // SYSCALL_H