bits 64 SECTION .data ; empty SECTION .text global _start _start: %include "header.asm.inc" mov eax, 0x00000001 ; +1 mov ebx, 0x00000005 ; +5 add eax, ebx ; eax = eax + ebx sub eax, ebx ; eax = eax - ebx add eax, 0x42 ; eax += 42 ; integer over-/underflows mov eax, 0x0 ; eax = 0 sub eax, 1 ; eax -= 1: eax = 0xFFFFFFFF mov eax, 0xFFFFFFFF ; eax = -1 add eax, 1 ; eax += 1: eax = 0x00000000 mov eax, 0x0 inc eax ; eax++ dec eax ; eax-- %include "sysexit.asm.inc"