sfl-examples/slide-examples/ex03.asm

25 lines
404 B
NASM

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"