Sunday, January 21, 2007

examination in this days

Both yesterday and today are the days of the annual National Entrance Examination for Postgraduates in china.The examination is a hard time for the people prepare for the postgradates.some of my friends take a part in it.this is some notes about them.
Acquaintance ,who live around me join the exam,include my girlfrind and one of my neighbor,whose name is Yan.
The first eve of the exam,Yan didnot have a sleep.He said that he got insommia.i think he is nervous.i cloud understand him.he is not normal campare with the students in the campus.he has worked for some years.he abdicate his job,only to fight for the exam.so he rent a house here.
what a hard time it is!He do the review every day.Every night i went to a sleep,i could also see the light coming from his house.
my girlfriend also parpare for the exam a long time.She didnot go home in the holiday of summer.Rent a house with her classmate to read every day.So hard she is.But the other days she also said that she think she didnot go after the knowledge well.
I don't like the exam.It distory many people's everyday life .but we cannot live without it ,because there are so many people in the nation,if you want to get success you have to go thourgh the pain.
like a writer whom i like say,the writer's name is wangxiaopo."when there is a suffering come to you,you fight against it.After a long time you find you could break away from it never.You will think it as a blessedness."Just as the examination.

Saturday, January 20, 2007

i write a assembly program tonight

i have forgot that i have to make a program as the schoolwork about assembly language ,after some day's happiness.the program title is a portamento work.
you can enter the low frequency and the high frequency to get a portamento.
i make it successful now,paste it here to make sure i will find it in furture.

data segment
mess1 db 13,10,'*********** sound program ****************'
db 13,10,' choose the operation '
db 13,10,' c : continue '
db 13,10,' q : quit to dos '
db 13,10,'************copyright@chengning***********$'
mess11 db 'input the choose:$'
mess2 db 'please enter the start frequency:$'
mess3 db 'please enter the end frequency:$'


frestart label byte
max db 5
act db ?
freq1 db 5 dup(?)


choose label byte
hui db 5
haa db ?
chos db 2 dup(?)


data ends
;************************************
node segment
assume cs:node,ds:data,es:data
main proc far
push ds
sub ax,ax
push ax
mov ax,data
mov ds,ax
mov es,ax

start:
call huanhang
lea dx,mess1
mov ah,09h
int 21h
call huanhang
lea dx,mess11
mov ah,09h
int 21h
lea dx,choose
mov ah,0ah
int 21h
mov si,2
cmp choose[si],'q'
jz exit
call huanhang
lea dx,mess2
mov ah,09h
int 21h
lea dx,frestart
mov ah,0ah
int 21h
call change
mov bx,ax
call huanhang
lea dx,mess3
mov ah,09h
int 21h
lea dx,frestart
mov ah,0ah
int 21h
call change
mov di,bx
huayin:
call sound
inc di
cmp di,ax
jnz huayin
jz start
;jz exit
exit:
mov ax,4c00h
int 21h
main endp
;***************************
change proc near
push bx
xor bh,bh
mov dh,10
mov cl,act
sub cl,1
xor ch,ch
mov si,2
zh: mov bl,frestart[si]
sub bl,30h
add ax,bx
mul dh
inc si
loop zh
pop bx
ret
change endp
;***************************
sound proc near
push ax
push bx
push dx
push cx
mov al,10110110b
out 43h,al
mov dx,12h
mov ax,34dch
div di
out 42h,al
mov al,ah
out 42h,al

in al,61h
mov ah,al
or al,3
out 61h,al
mov bx,100
leng:mov cx,2801
delay:loop delay
dec bx
jnz leng
mov al,ah
out 61h,al
goout: pop cx
pop dx
pop bx
pop ax
ret
sound endp
;****************************
huanhang proc near
push ax
push dx
mov ah,02h
mov dl,0dh
int 21h
mov dl,0ah
int 21h
pop dx
pop ax
ret
huanhang endp
;****************************
node ends
end main

Thursday, January 18, 2007

imagine

Imagine cup ,a competition conducted by micrsoft.There are many comprtitions here,why can not i take a part in one??

Wednesday, January 17, 2007

oh,my god

I have just heared about that the students living in my campus couldnot get on my this new blog..
it means that i could edit the article here even i could enter this web site.
oh,how no-useness the net of my campus is!!

html

I should learn html language now,because i could even not edit my blog here without it.It is so misery & gloomy....
the speed of my net is very slow tonight.but i have to stand it,beacause i can do nothing....

Tuesday, January 16, 2007

I am here,today

Today,it is really a heavy snow in wuhan.I like it so much.I like the different thingsin the everylife.
The google's blog is special.It 's simple but beautiful.I have wanted to create a new state for the recording of my life.The other months,i came across the linghucong's blog on the net.He is a very sucessful man studying the computer.His blog is worth reading every day.
The other day,i know the blogsite from his new blog.And i come here to have a look.wow,it is really good.I think i like it.
I have a sinablog though,i wanna to put some thing about my studys here,computer,english,or others.I am not good at them,but i have the choice to get touch with.