| Welcome to Usc_compe2007. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Programs Section !; feel free to post ur programs | |
|---|---|
| Tweet Topic Started: Dec 9 2004, 05:35 AM (217 Views) | |
| Director Kurama | Dec 9 2004, 05:35 AM Post #1 |
![]() ![]()
|
peepz have u already made the palindrome program and the vowel detection program in asm....... i have made a program in palindrome but i have still bugs to fix it.......l end: int 020
|
| |
![]() |
|
| kishimii | Dec 10 2004, 09:46 PM Post #2 |
![]()
Administrator
![]()
|
hmm ako ala pa intawn! faita oi
|
| |
![]() |
|
| Director Kurama | Dec 10 2004, 10:07 PM Post #3 |
![]() ![]()
|
here is my snippet for the palindrome transfer: mov si,offset buff sub di,2 repet1: mov al,b[di] mov dh,b[si] cmp al,dh jne messg2 cmp bx,1 je messg add si,2 sub di,2 dec bx jmp repet1 lets say : hannah b[di] points at h of the first h of hannah den b[si] points at the last letter h of hannah add si, 2 sub di, 2 hannaH --- b[di] sub di,2 --> hannAh hanNah haNnah Hannah --- b[si] add si,2 --> hAnnah haNnah hanNah den b[di] is stored to al while b[si] to dh for latter comparison cmp al, dh if not equal so its not a palindrome............. thats my understanding of the problem and my approach to it
|
| |
![]() |
|
| Protoss Templar | Dec 11 2004, 01:55 AM Post #4 |
|
adiktus level 5
|
hehehe... wa ko paki sa program.. para lang musaka akong rank ni post ko ani.
|
![]() |
|
| Protoss Templar | Dec 11 2004, 01:57 AM Post #5 |
|
adiktus level 5
|
pero nice bya ang program... keep it up int20h... whoever you are.
|
![]() |
|
| Director Kurama | Dec 11 2004, 08:47 PM Post #6 |
![]() ![]()
|
what would come out for the practical test for those who are under of engr. bandalan ermmmm..........:ph43r: im pretty sure possible test would be the running name around the screen, palindrome and consonant count on a string ..... good luck peepz
|
| |
![]() |
|
| Director Kurama | Dec 13 2004, 10:00 PM Post #7 |
![]() ![]()
|
im pretty nervous for tomorrows exam huhhuhuh |
| |
![]() |
|
| silvermoon | Dec 13 2004, 11:49 PM Post #8 |
|
adiktus level 2
|
those under n engr bandalan sa lab, logic, study mo ug himo ug circuit using NAND & NOR gates, & ayaw jud mo paglangay ug answer ky gamay ra ayo ang 15 min... most of us na human exam kay 1 to 2 lang ka prob ang complete ug solution... kay usually dili mahuman ang pag wire sa ckt ky nadugay sa pagsolve... GOOD LUCK! |
| |
![]() |
|
| Director Kurama | Dec 15 2004, 07:20 PM Post #9 |
![]() ![]()
|
hmmm ye ye bonel /..... / mam balquin has given her students another challenge hmmmm.,........ the scrolling of the screen and comparing strings...... |
| |
![]() |
|
| Director Kurama | Jan 8 2005, 10:01 PM Post #10 |
![]() ![]()
|
how to scroll the screen... u may modify if u want to... mov ax,0b800 mov ds,ax mov es,ax mov cx,80 std run1: push cx mov di,79*2 mov si,78*2 mov cx,24 run2: push cx,si,di mov cx,79 run3: lodsb stosb dec si dec di loop run3 mov al,' ' stosb pop di,si,cx add di,160 add si,160 loop run2 pop cx call delay call delay call delay call delay loop run1 int 20h delay: push cx mov cx,0ffffh delay1: push cx mov cx,200 delay2: loop delay2 pop cx loop delay1 pop cx ret |
| |
![]() |
|
| KhulGet | Jan 10 2005, 11:36 PM Post #11 |
|
adiktus level 5
|
grabeh!!! kami loops paman mi..... di-in man mo kuha og mga resources pra sa inyong program?? libro?? c",)
|
| |
![]() |
|
| JiN | Jan 18 2005, 03:33 PM Post #12 |
|
adiktus level 4
|
wla nay source bai.. analyze ra na nya apply sa program.. gamit ra btaw na og loops.. heheü |
![]() |
|
| Int20h | Jan 21 2005, 12:06 AM Post #13 |
|
adiktus level 2
|
stos byte stos byte man hmmmm maau ning tawhana...... kami tawn ni bandalan crawl oi ............. pero ok lang |
![]() |
|
| JiN | Jan 21 2005, 08:44 PM Post #14 |
|
adiktus level 4
|
klaro kaau kani si int20h student ni siya ni maam balquin.. heheü wara sigi sad og sit-in sa klase ni maam balquin.. heheü
|
![]() |
|
| KhulGet | Feb 11 2005, 02:38 AM Post #15 |
|
adiktus level 5
|
basta programing hisgottan.. kana c jin ang kasaligan... c",)
:ph43r: <_<
|
| |
![]() |
|
| « Previous Topic · Other Subjects · Next Topic » |









what would come out for the practical test for those who are under of engr. bandalan ermmmm..........
3:03 PM Jul 13