; UKÁZKA ; Do x ulož hodnotu 12 a vypočítej a+b+x %include "rw32.inc" section .data pA db 5 ; char A = 5; char *pA = &A; pB dw 100 ; short B = 100; char *pB = &B; pC dd 2000 ; long C = 2000; section .bss x resd 1 section .text main: mov [x], dword 12 mov eax, 0 mov ax, [pB] add eax, [pC] mov [x], eax call WriteUInt32 call WriteNewLine ret