NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
Int 21h
« previous
next »
Print
Pages: [
1
]
Author
Topic: Int 21h (Read 16222 times)
nobody
Guest
Int 21h
«
on:
January 22, 2008, 05:04:23 PM »
Hi, I used fasm, whi won't it work when assembled :) thx
;/*
org 100h
__entry_point:
pushf
mov ah,09h
mov dx,message
int 21h
mov ah,08h
int 21h
popf
mov ah,4ch
int 21h
message: db "Hello World!", 0
end_of_file:
;*/
Logged
nobody
Guest
Re: Int 21h
«
Reply #1 on:
January 22, 2008, 05:06:50 PM »
never mind, lol
message: db "Hello World!",24h
Logged
nobody
Guest
Re: Int 21h
«
Reply #2 on:
January 23, 2008, 06:43:31 AM »
> whi[ne] won't it work
It should. Just print "Hello World!" and maybe something more :LOL:
> never mind, lol
As next, you can write a routine printing ZERO-terminated text, "$" sucks :LOL:
PS: no need to pushf and popef :LOL:
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
Int 21h