;; (C) David Vajda ;; 2025-07-04 ;; nasm, i386, i586, amd64 mmx, simd instructions test and excersize global _start section .data smm1: db "abcdefgh", 10, 13, 0x00 smm2: db 0x00, 0x01, 0x02, 0x08, 0x00, 0x02, 0x04, 0x08, 0x00, 0x00, 0x00 section .text _start: movq xmm1, [smm1] movq xmm2, [smm2] paddb xmm1, xmm2 movq [smm1], xmm1 mov ecx, smm1 mov edx, 10 mov eax, 0x04 mov ebx, 0x01 int 0x80 mov eax, 0x01 mov ebx, 0x00 int 0x80