fix system program

This commit is contained in:
EgorGud
2026-09-29 11:01:49 +03:00
parent 7375674199
commit 6bbb436bf4
12 changed files with 84 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/* Type your code here, or load an example. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
// int main(void) {
// int a = 26;
// int b = 5;
// int c = a / b;
// return 0;
// }
unsigned short swap_bytes(unsigned short num) {
return ((num & 0x00FF) << 8) | ((num >> 8));
}