|  | |
10-12-2006, 05:25 AM
|
#1 |
Join Date: Aug 2006 Location: currently staying in the Philippines
Posts: 743
| Assembly Language Programming | | Anyone familiar with this sort of programming?
__________________ Giving up is for losers, I don't want to be a loser so I won't give up no matter what. Each of us have our own point of view, no matter what someone may tell you, never loose faith in yourself and in what you believe is true. |
| |
10-12-2006, 10:26 AM
|
#2 |
Join Date: May 2006 Location: Philippines
Posts: 5,629
| Re: Assembly Language Programming | | That was lesson last year.. and I don't like it..
It's so long....
1 line in C would be like 4-6 lines on it.
mov bh,ah.. haha somethin' like that.
the "clrscr" in C ,would be kinda longer on it.
it's a step by step programming.. u really need to put the commands which makes a "clrscr" in C or any other words.
"printf" would take more lines to run it there.
__________________ I couldn't ask for more!--- Bryn.
-------------------- Me and you are forever baby! --------------------- |
| |
10-18-2006, 05:59 AM
|
#3 |
Join Date: Aug 2006 Location: currently staying in the Philippines
Posts: 743
| Re: Assembly Language Programming | | So I've heard...
A lot of my friends who have already finished with that subject told me that it was the most annoying and time consuming subject of all...
__________________ Giving up is for losers, I don't want to be a loser so I won't give up no matter what. Each of us have our own point of view, no matter what someone may tell you, never loose faith in yourself and in what you believe is true. |
| |
10-18-2006, 01:39 PM
|
#4 |
Join Date: May 2006 Location: Philippines
Posts: 5,629
| Re: Assembly Language Programming | | Yep... hehe it needs a lot of patience lol!
__________________ I couldn't ask for more!--- Bryn.
-------------------- Me and you are forever baby! --------------------- |
| |
10-23-2006, 02:26 PM
|
#5 |
Join Date: Aug 2006 Location: currently staying in the Philippines
Posts: 743
| Re: Assembly Language Programming | | Would you mind giving me the basics since I want to be prepared when I take the lesson on this comming week?
__________________ Giving up is for losers, I don't want to be a loser so I won't give up no matter what. Each of us have our own point of view, no matter what someone may tell you, never loose faith in yourself and in what you believe is true. |
| |
10-25-2006, 08:38 AM
|
#6 |
Join Date: May 2006 Location: Philippines
Posts: 5,629
| Re: Assembly Language Programming | | I'l try to find my notes about the basic codes on it..coz i really forgot it lol!
i never liked it.
__________________ I couldn't ask for more!--- Bryn.
-------------------- Me and you are forever baby! --------------------- |
| |
10-25-2006, 01:20 PM
|
#7 |
Join Date: Aug 2006 Location: currently staying in the Philippines
Posts: 743
| Re: Assembly Language Programming | | lol, I can bet you're not the only one who doesn't seem to like Assembly Language Programming...
__________________ Giving up is for losers, I don't want to be a loser so I won't give up no matter what. Each of us have our own point of view, no matter what someone may tell you, never loose faith in yourself and in what you believe is true. |
| |
10-26-2006, 02:26 PM
|
#8 |
Join Date: May 2006 Location: Philippines
Posts: 5,629
| Re: Assembly Language Programming | | tehehe .. yep,i'l post some codes in here when I found my notes.
__________________ I couldn't ask for more!--- Bryn.
-------------------- Me and you are forever baby! --------------------- |
| |
11-01-2006, 11:18 AM
|
#9 |
Join Date: May 2006 Location: Philippines
Posts: 5,629
| Re: Assembly Language Programming | | I found the program we made before as our activity.
Here it is:
.model small
.stack 64
.data
msg db 'My First Simple Program using Assembly Language$'
jin db ' Prepared by: (my complete name)$'
lyn db 'BSIT-2$'
.code
main proc near
mov ax,@data
mov ds,ax
mov es,ax
mov ax,0600h
mov bh,07h
mov cx,0000h
mov dx,184fh
int 10h
mov ah,02h
mov bh,07h
mov cx,0000h
mov dx,184fh
int 10h
mov ah,09h
lea dx,msg
int 21h
mov ah,02h
mov bh,00
mov dh,06
mov dl,12
int 10h
mov ah,09h
lea dx,jin
int 21h
mov ah,02h
mov bh,00
mov dh,07
mov dl,25
int 10h
mov ah,09h
lea dx,lyn
int 21h
mov ah,02h
mov bh,00
mov dh,184
mov dl,01
int 10h
mov ah,4ch
mov al,00
int 21h
main endp
end main
__________________ I couldn't ask for more!--- Bryn.
-------------------- Me and you are forever baby! --------------------- |
| |
11-06-2006, 02:18 PM
|
#10 |
Join Date: Aug 2006 Location: currently staying in the Philippines
Posts: 743
| Re: Assembly Language Programming | | On your sample program, does the program start with the .model command?
__________________ Giving up is for losers, I don't want to be a loser so I won't give up no matter what. Each of us have our own point of view, no matter what someone may tell you, never loose faith in yourself and in what you believe is true. |
| |  | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |