bits 64 SECTION .data ; empty SECTION .text global _start _start: %include "header.asm.inc" mov eax,0x42 ; immediate value is en- mov eax,0x1234567 ; coded in instruction mov eax,0xffff0000 ; (little endian) mov ebx,0x42 ; every registers has its mov ecx,0x42 ; own 32b `mov` opcode mov edx,0x42 ; (opcodes b8-bf) mov esp,0x42 mov ebp,0x42 mov esi,0x42 mov edi,0x42 mov ax,0x42 ; prefix 0x66 changes size mov bx,0x42 ; of operand (32b to 16b) mov cx,0x42 mov dx,0x42 mov al,0x42 ; prefix 0x66 changes size mov bl,0x42 ; of operand (32b to 16b) mov cl,0x42 mov dl,0x42 %include "sysexit.asm.inc"