diff --git a/works/SysProg/ПР 1.2/Task 2.c b/works/SysProg/ПР 1.2/Task 2.c new file mode 100644 index 0000000..1e99ab3 --- /dev/null +++ b/works/SysProg/ПР 1.2/Task 2.c @@ -0,0 +1,4 @@ +#include +uint16_t swap_bytes(uint16_t x) { + return (x << 8) | (x >> 8); +} \ No newline at end of file