瀏覽單個文章
萬博
*停權中*
 

加入日期: Feb 2011
文章: 175
引用:
作者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

可以領錢了嗎
     
      
舊 2011-09-15, 11:04 AM #11
回應時引用此文章
萬博離線中