mirror of
https://github.com/AYIDouble/x86-Assembly-Reverse-Engineering.git
synced 2026-06-21 00:46:54 +08:00
24 lines
No EOL
284 B
NASM
24 lines
No EOL
284 B
NASM
; hello_world.asm intel
|
|
|
|
.model small
|
|
|
|
.stack 100h
|
|
|
|
.data
|
|
msg db "Hello World!",'$'
|
|
|
|
.code
|
|
main proc
|
|
mov ax,@data
|
|
mov ds, ax
|
|
|
|
; hello-world is there
|
|
mov dx,offset msg
|
|
mov ah,09
|
|
int 21h
|
|
|
|
mov ax,4c00h
|
|
int 21h
|
|
|
|
main endp
|
|
end main |