|
-
Oct 24th, 2002, 06:30 PM
#1
Thread Starter
yay gay
new to assembly
as ur FAQ says i downloaded the a86 asm compiler or whatever u call it...then created in the ame dir a file called hello.asm... i wrote the following code
Code:
jmp start
Message1 db "Hello World!$"
start:
mov ah, 09h
mov dx, offset Message1
int 21h
mov ax, 4c00h
int 21h
then saved it...but i write in the command prompt a86 hello.asm and it didnt work...how do i do that? i also noticed theres no file a86.exe .com .something..lol..im pretty new to this..what should i do lol?
-
Oct 29th, 2002, 03:19 PM
#2
Get NASM. Unlike a86 it's completly free and has not yet failed me.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 29th, 2002, 10:38 PM
#3
Hyperactive Member
Kevin Carpenter
Currently Working in the CAOS (CA Operating System) Group
-
Oct 30th, 2002, 04:01 AM
#4
Hyperactive Member
-
Nov 3rd, 2002, 01:25 PM
#5
Thread Starter
yay gay
hmm tks
-
Jul 11th, 2003, 03:35 PM
#6
Fanatic Member
Why is there a jmp statement at the beginning of the code?
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jul 13th, 2003, 12:17 PM
#7
Because otherwise the CPU would try executing the string. This is a COM file, it doesn't have a set entry point but simply starts execution at the start of the file.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jul 28th, 2003, 03:27 AM
#8
Addicted Member
USE TASM!
In my opinion, TASM is the must comfortable assembler out there.
-
Jul 28th, 2003, 09:38 AM
#9
Fanatic Member
I have to agree with CornedBee. NASM is the best. Its (1) solid, (2) syntax is descripitve, and (3) its free.
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|