PCDVD數位科技討論區

PCDVD數位科技討論區 (https://www.pcdvd.com.tw/index.php)
-   七嘴八舌異言堂 (https://www.pcdvd.com.tw/forumdisplay.php?f=12)
-   -   寫程式,這是個案或是普遍現象? (https://www.pcdvd.com.tw/showthread.php?t=941931)

萬博 2011-09-15 11:04 AM

引用:
作者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

可以領錢了嗎 :laugh:

重建創世紀 2011-09-15 11:11 AM

引用:
作者萬博
那有什麼難的

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

可以領錢了嗎 :laugh:


目前本公司發展之主要方向,為提供大型企業人力支援,

因此所需之人才,須具有參與網站程式專案3年以上之開發經驗。

很抱歉,我們暫時無法提供合適您長才之職缺,

祝福您 早日找到適合的最佳工作!! :laugh:

kenchen_1226 2011-09-15 11:14 AM

引用:
作者萬博
那有什麼難的

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

可以領錢了嗎 :laugh:


恕小弟愚笨
asm 我也學過
但我只看到 會印出 Hello world
沒看到會印出 100 次的 code 啊
不是要用到 loop 這個指令嗎?

萬博 2011-09-15 11:21 AM

引用:
作者kenchen_1226
恕小弟愚笨
asm 我也學過
但我只看到 會印出 Hello world
沒看到會印出 100 次的 code 啊
不是要用到 loop 這個指令嗎?

沒錯!

總要留點bug
讓大家也有工作做

等我領錢走人你就是下一位領錢的人 :laugh:

PAN_PAN 2011-09-15 11:41 AM

引用:
作者重建創世紀
目前本公司發展之主要方向,為提供大型企業人力支援,

因此所需之人才,須具有參與網站程式專案3年以上之開發經驗。

很抱歉,我們暫時無法提供合適您長才之職缺,

祝福您 早日找到適合的最佳工作!! :laugh:


如果萬博可以用 ASM 寫出網站程式. 那真的超強.

DarknessRon 2011-09-15 12:11 PM

引用:
作者萬博
沒錯!

總要留點bug
讓大家也有工作做

等我領錢走人你就是下一位領錢的人 :laugh:


:laugh: :laugh: :laugh: :laugh: :laugh:

老柏(第三) 2011-09-15 12:21 PM

引用:
作者kenchen_1226
恕小弟愚笨
asm 我也學過
但我只看到 會印出 Hello world
沒看到會印出 100 次的 code 啊
不是要用到 loop 這個指令嗎?

他好像是用跳回的方式,不過100H應該會有256次,所以還是不及格:D:D

lls7716 2011-09-15 12:34 PM

引用:
作者萬博
引用:
作者kenchen_1226
引用:
作者萬博
那有什麼難的

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

可以領錢了嗎 :laugh:

恕小弟愚笨
asm 我也學過
但我只看到 會印出 Hello world
沒看到會印出 100 次的 code 啊
不是要用到 loop 這個指令嗎?

沒錯!

總要留點bug
讓大家也有工作做

等我領錢走人你就是下一位領錢的人 :laugh:


不管別人信不信,小弟信您了!:laugh:

引用:
作者老柏(第三)
他好像是用跳回的方式,不過100H應該會有256次,所以還是不及格:D:D

所以您兼差機會來了... :laugh:


.

iDemon 2011-09-15 04:39 PM

做案的卻又搞月薪制~~ :unbelief:

重建創世紀 2011-09-15 05:16 PM

引用:
作者iDemon
做案的卻又搞月薪制~~ :unbelief:


可不是完全的月薪制喔,
3~4萬是東西寫得出來,並達到業主的要求的給付啊。
那是評估每個月接案產量得出來的,該公司人事部給的口頭支票。


所有的時間均為GMT +8。 現在的時間是03:12 PM.

vBulletin Version 3.0.1
powered_by_vbulletin 2025。