добавление работ по системному программированию

This commit is contained in:
IliyaSomoilov
2026-09-10 11:19:10 +03:00
parent 999fe959bf
commit 8ef9ec1469
6 changed files with 19 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#include <stdint.h>
uint16_t swap_bytes(uint16_t x) {
return (x << 8) | (x >> 8);
}