引用:
|
作者seiya2000
請用組合語言寫出"Hello World" 輸出100次的程式。
|
那有什麼難的
org 0100H
jmp _start
hello db 'Hello world!',13,10,'$' ; end at $
_start:
; Write 'Hello world!' to the screen
mov ah,9 ; write code 9 for print
mov dx,hello ; string to write
int 21h ; call the kernel
; Terminate program
mov ah,04ch ; 'exit' system call
int 21h ; call the kernel
可以領錢了嗎
