Archive for the ‘技事巧事’ Category
留个记号
这么长时间也没有做下真正的记号,最好的复习应该就是做笔记了。今天做个小笔记吧。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | assume cs:code,ds:data data segment db 'welcome to masm!' db 02h,24h,71h data ends code segment start: mov ax,data mov ds,ax mov ax,0b872h ;显示位置 mov es,ax mov bp,10h ;颜色02h的位置 mov cx,3 s: push cx mov di,0 mov cx,16 s1: mov dl,ds:[di] ;将字符 mov es:[si],dl ;复制到低字节 mov dh,ds:[bp] ;将颜色 mov es:[si+1],dh;复制到高字节 inc di ;下一字符 add si,2;加2,颜色为奇地址 loop s1 add si,80h ;160个字节-32字节跳转到下一行 add bp,1 pop cx loop s mov ax,4c00h int 21h code ends end start |
最后忘记写程序退出返回,导致查了很多遍都没有找到问题所在,以后得记清楚了。
坚定不移的信念是成功的钥匙!
Top 5 tips to become a productive student entrepreneur
“you can only have two out of these three thins in your college life:asocial life,good
grades,and enough sleep.You can’t have all three.”That’s what the guest speaker at
my high school graduation said.Several classmates though these words weregold,but
being the skeptic that i was,i hated the idea of oversimplyfilying my college experience
into just those 3 things. You’re probably the same way if you’re a college entrepreneur.
i’ve proved to myself taht it’s entirely possible to have decent grades, a heathy social
life,run your iwn business,and get ample rest–all during your college years.It look a bit
of trial and error to find a system that works for me,but here are the thins that made
the most differece.
1.Don’t prioritze all your classes equally⊙别在你的全部课程上投入相等的精力.
Read the rest of this entry »
