Update Project

This commit is contained in:
328p
2026-09-29 19:25:21 +03:00
parent 496bd3cb5c
commit 328bc3f78e
11 changed files with 12 additions and 7 deletions
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 75 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 127 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View File

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

+12 -7
View File
@@ -30,10 +30,15 @@ long divmod(long a, long b) {
### Итог компиляции
<<<<<<< HEAD
![solution Задание 1](1.1.png)
![solution Задание 1](1.2.png)
=======
![solution Задание 1](1.png)
![solution Задание 1](1.1.png)
>>>>>>> 496bd3cb5c4d105aaff627e71d6ffc3dfc329843
Рисунок 1 – итог компиляции
---
@@ -66,7 +71,7 @@ uint8_t swapnib(uint8_t x) {
### Итог компиляции
![solution Задание 2](2.png)
![solution Задание 2](2.1.png)
Рисунок 2 – итог компиляции
---
@@ -91,7 +96,7 @@ long smod_(long a, long b) {
### Итог компиляции
![solution Задание 3](3.png)
![solution Задание 3](3.1.png)
Рисунок 3 – итог компиляции
@@ -133,7 +138,7 @@ long m100(long a) {
### Итог компиляции
![solution Задание 4](4.png)
![solution Задание 4](4.1.png)
Рисунок 4 – итог компиляции
Причина в том, что lea изначально проектировалась как аппаратный механизм вычисления адресов памяти по схеме «База + Индекс × Масштаб + Смещение», а такая формула по своей природе допускает только сложение и умножение на фиксированный масштаб, но не вычитание и не деление.
@@ -156,13 +161,13 @@ unsigned long fact(unsigned n) {
```
### Итоги компиляций
![solution Задание 5](5.png)
![solution Задание 5](5.1.png)
Рисунок 5 – итог компиляции -O0
![solution Задание 5](5.2.png)
![solution Задание 5](52.png)
Рисунок 5 – итог компиляции -O1
![solution Задание 5](5.3.png)
![solution Задание 5](53.png)
Рисунок 5 – итог компиляции -O2
![solution Задание 5](5.4.png)
![solution Задание 5](54.png)
Рисунок 5 – итог компиляции -O3
---