.. kacper-docs documentation master file, created by sphinx-quickstart on Thu Jan 8 13:08:48 2026. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Dokumentacja Zadań z Praktyk ======================================= Kacper Kociszewski ======================================= 8 stycznia 2026 --------------- 1. **Zerowanie** .. highlight:: assembly .. code-block:: console .386 .model flat, stdcall option casemap:none .code start: xor RAX, RAX xor EAX, EAX xor AX, AX xor AH, AH xor AL, AL end start 2. **Jak To Działa?** .. highlight:: assembly_I_definicja .. code-block:: console .386 - określa użycie instrukcji 32-bitowych. .model flat, stdcall - definiuje model pamięci. .code - rozpoczyna sekcję kodu. start: - etykieta początkowa programu. xor RAX, RAX - zeruje rejestr RAX (64-bitowy). xor EAX, EAX - zeruje rejestr EAX (32-bitowy). xor AX, AX - zeruje rejestr AX (16-bitowy). xor AH, AH - zeruje górną część rejestru AX (8-bitowy). xor AL, AL - zeruje dolną część rejestru AX (8-bitowy). end start - definiuje punkt startowy programu.