2012-05-24から1日間の記事一覧

nasm アセンブリ言語で文字列を標準出力に出力する

アセンブリ言語ソース: 「Hello World!」と標準出力に出力する。(ファイル名:puts.asm) bits 16 org 0x100 mov ah, 09h mov dx, msg int 21h mov ah, 4ch mov al, 0 int 21h msg db "Hello, World!$"アセンブル D:\nasm>nasm -fbin puts.asm -o a.com実行 D:…