sfl-examples/slide-examples/assembly/ex03.asm

25 lines
404 B
NASM
Raw Permalink Normal View History

2023-12-14 14:12:51 +01:00
bits 64
SECTION .data
; empty
SECTION .text
global _start
_start:
%include "header.asm.inc"
mov eax,ebx ; store value of ebx in eax
mov eax,ecx ; (again, each combination has an opcode)
mov eax,edx
mov ebx,eax
mov ebx,ecx
mov ebx,edx
mov ah,ah
mov ah,bh
mov al,al
mov al,bl
%include "sysexit.asm.inc"