hello,world! ãã¬ã¸ã¹ã¿ã®ã¿ã§å®è¡ãã
nasmã§hello,world!ãå®è¡ãããã½ã¼ã¹ãä½ãã¾ãã
win verã§ã ã¬ã¸ã¹ã¿ã®ã¿ãªã®ã§ã§å¦çã¯ç°¡æ½ã§ãããã³ã³ãã¤ã©ã¯nasmã¨ãªã£ã¦ããã¾ã
mov ah, 02 mov dl, 48h int 21h mov dl, 65h int 21h mov dl, 6Ch int 21h mov dl, 6Ch int 21h mov dl, 6Fh int 21h mov dl, 2Ch int 21h mov dl, 77h int 21h mov dl, 6Fh int 21h mov dl, 72h int 21h mov dl, 6Ch int 21h mov dl, 64h int 21h mov dl, 21h int 21h mov ah, 4ch mov al, 0 int 21h
以ä¸ã®ã³ãã³ãã§ãã¤ããªä½æ
nasm -f bin hello.asm -o hello.com
ã¡ãã£ã¨ããã©ãããããªã³ã¼ãã§ããã©ï½