; var6.asm ; by renzo diomedi ; ; to verify the values into the registers ; section .data ; mem0 dw 3555 mem1 dw 3955 ; mem0*mem1=14,060,025 dmem dd 0 mem2 dw 0 mem3 dw 0 ; section .text global _start _start: ; mov ax, word [mem0] mul word [mem1] ; result in dx:ax mov word [dmem], ax mov word [dmem+2], dx ; mov word [mem2], ax mov word [mem3], dx ; ; ; mov rax, 1 mov rbx, 0 int 0x80