-
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?
-
Get NASM. Unlike a86 it's completly free and has not yet failed me.
-
-
-
-
Why is there a jmp statement at the beginning of the code?
-
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.
-
USE TASM!
In my opinion, TASM is the must comfortable assembler out there.
-
I have to agree with CornedBee. NASM is the best. Its (1) solid, (2) syntax is descripitve, and (3) its free.