顯示具有 assembly 標籤的文章。 顯示所有文章
顯示具有 assembly 標籤的文章。 顯示所有文章

星期一, 2月 11, 2008

assembly

section .data
msg db 'Hello, world!',0xA
len equ $-msg

section .text
global _start
_start:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80

mov ebx,0
mov eax,1
int 0x80

Hello world