2005-10-08

情人碼頭周圍地圖

施放點周圍地圖
施放點周圍地圖. Originally uploaded by JIESIN.

不想到情人碼頭人擠人的
我可以陪你到圖中所示無人地點看煙火~~XD

2005-10-07

今天的英文課

總算放完影片;想不到還有笑點...而且笑點都是我!?...orz 明明就是溫馨感人小短劇阿~_~
由此可見要讓人發笑不一定要嘻皮笑臉講笑話,認真的演戲也是可以,嗯嗯。

之後老師說我有憂鬱的氣息~~我就知道我果然是憂鬱的人阿~~呵呵
旁邊的人一直說屁啦是怎樣= =
明明就是事實XD
我是憂鬱氣息電機男 ;)

-- 影片...流出去的話我大概會被...還是先放在硬碟裡吧= =a

Computer Organization HW1

MIPS assembly code: (copied from textbook)
( n corresponds to the argument register $a0 )
 
fact: addi $sp,$sp,-8 # adjust stack for 2 items
sw $ra,4($sp) # save the return address
sw $a0,0($sp) # save the argument n
slti $t0,$a0,1 # test for n < 1
beq $t0,$zero,L1 # if n >= 1, go to L1.
 
addi $v0,$zero,1 # return 1
addi $sp,$sp,8 # delete 0 and address
jr $ra # return to after jal of L1
 
L1: addi $a0,$a0,-1 # n >= 1: argument gets (n - 1)
jal fact # call fact with (n - 1)
 
lw $a0,0($sp) # return from jal:restore argument n
lw $ra,4($sp) # restore the return address
addi $sp,$sp,8 # adjust stack pointer to pop 2 items
mul $v0,$a0,$v0 # return n * fact(n-1)
jr $ra # return to the caller
 
trace: n = 3
 
fact: addi $sp,$sp,-8 # adjust stack for 2 items
sw $ra,4($sp) # save the return address in stack
sw $a0,0($sp) # save the argument n = 3 in stack
slti $t0,$a0,1 # test if n < 1
beq $t0,$zero,L1 # if n >= 1, go to L1. Now n = 3, so go to L1
 
L1: addi $a0,$a0,-1 # n = 3 - 1 = 2
jal fact # call fact with n = 2
 
fact: addi $sp,$sp,-8 # adjust stack for 2 items
sw $ra,4($sp) # save the return address in stack
sw $a0,0($sp) # save the argument n = 2 in stack
slti $t0,$a0,1 # test if n < 1
beq $t0,$zero,L1 # if n >= 1, go to L1. Now n = 2, so go to L1
 
L1: addi $a0,$a0,-1 # n = 2 - 1 = 1
jal fact # call fact with n = 1
 
fact: addi $sp,$sp,-8 # adjust stack for 2 items
sw $ra,4($sp) # save the return address in stack
sw $a0,0($sp) # save the argument n = 1 in stack
slti $t0,$a0,1 # test if n < 1
beq $t0,$zero,L1 # if n >= 1, go to L1. Now n = 1, so go to L1
 
L1: addi $a0,$a0,-1 # n = 1 - 1 = 0
jal fact # call fact with n = 0
 
fact: addi $sp,$sp,-8 # adjust stack for 2 items
sw $ra,4($sp) # save the return address in stack
sw $a0,0($sp) # save the argument n = 0 in stack
slti $t0,$a0,1 # test if n < 1
beq $t0,$zero,L1 # if n >= 1, goto L1. n = 0,so goto next line
 
addi $v0,$zero,1 # return 1
addi $sp,$sp,8 # pop 2 items(0 and return address) of stack
jr $ra # return to the instruction after jal
 
lw $a0,0($sp) # returned from jal. restore argument 1
lw $ra,4($sp) # restore the return address
addi $sp,$sp,8 # pop 2 items(1 and return address) of stack
mul $v0,$a0,$v0 # return n*fact(n-1) = 1*fact(0) = 1 * 1 = 1
jr $ra # return to the instruction after jal
     
lw $a0,0($sp) # returned from jal. restore argument 2
lw $ra,4($sp) # restore the return address
addi $sp,$sp,8 # pop 2 items(2 and return address) of stack
mul $v0,$a0,$v0 # return n*fact(n-1) = 2*fact(1) = 2 * 1 = 2
jr $ra # return to the instruction after jal
     
lw $a0,0($sp) # returned from jal. restore argument 3
lw $ra,4($sp) # restore the return address
addi $sp,$sp,8 # pop 2 items(3 and return address) of stack
mul $v0,$a0,$v0 # return n*fact(n-1) = 3*fact(2) = 3 * 2 = 6
jr $ra # return to the caller

2005-10-01

沙漠玫瑰

DSC00414
DSC00414. Originally uploaded by JIESIN.

我家的沙漠玫瑰開花了!! :D

2005-09-22

css Zen Garden

昨天去圖書部看免錢書,看到一本介紹這個網站css Zen Garden的書,選了其中幾個Design來做CSS教學,看了很有慾望想買,但我忍下來了。

css Zen Garden是一個讓人見識CSS威力的網站。同樣的HTML,套用不同的CSS,看起來可以完全不一樣。進去看看才知道!

其實這個網站已經很久了...我怎麼現在才知道= =

2005-09-17

我家陽臺

DSC02715
DSC02715. Originally uploaded by JIESIN.

前天我爸把陽台整理的很漂亮哈哈^^

2005-09-06

送飲料記


鐵馬把手with草地. Originally uploaded by jieNew.

在成大還是要騎腳踏車才對阿~~騎機車就虛掉嚕~~
今天去送飲料給班上當迎新隊輔的同學們,順便逛了校園n圈,因為太早去了......= =

我還拍了幾張照片~~這次有把天空的藍色也拍進去喔!!另外也拍了吃冰 送飲料 吃飯的照片:P 沒辦法...flickr pro空間趨近無限大,不多拍一點太浪費了XD

飲料幸好抓到四個人幫忙出錢,不然就爆了..囧
還有下次要我幫忙搬家記得留多一點東西給我搬...= = 不然真的很無聊說。看在有幫忙請飲料的份上,這次就算了︿( ̄︶ ̄)︿

2005-09-04

用DC當視訊


DCasWebCam. Originally uploaded by jieNew.

我弟今天搬到宿舍去(上大學了),他電腦裡的電視卡就由我接收啦。於是我就來試試看用相機的TV-OUT接到電視卡的INPUT來當視訊用。很早以前就想試試看了XD,聽說畫質比一般視訊好很多!!

可是接下來...發現...相機TV-OUT的連接線不見了= =....前後兩台相機的都不見...是怎樣...囧rz

以前舊相機那條不見後,我就去看過這種線的價錢,一條居然要好幾百= = 所以沒買。後來新相機也有TV-OUT所以有附,想不到又弄丟了...orz

那條線是3.5mm接頭轉三個梅花接頭,分別是黃色接頭影像輸出,還有紅白兩聲道。這種線我只知道數位相機有在用而已= =

= =..........................怎麼辦怎麼辦....

結果我很天才的拿3.5mm轉紅白RCA接頭的那種線來試,就是很普通接喇叭的那種線。因為......看起來很像= =||。

連接線一邊插數位相機,一邊接電視卡黃色 RCA 的 Video In...試了白色...沒訊號...紅色!......成功了!XD

畫質讚阿,跟一般的webcam比起來就像是沒近視比近視1000度!缺點是...相機很貴..不敢開太久= =|||...會燙= =

2005-09-02

成大管弦"低音大提琴"特寫


cello. Originally uploaded by jieNew.

星期一去聽管絃樂拍回來的照片。因為她就在我正前方,拍了好幾張:P
這張是修過的特寫~