flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
madmatt 05 Jul 2005, 08:52
Hi Bruno
This program is for another assembler -> MASM, and it is written for DOS, not Windows. Look in the examples folder for 'hello' folder, this is about as simple as a windows program gets (see the other examples too, and study them). Hopefully someone else on this board can give you some information about beginning assembly language, I don't have any information to share with you right now. Sorry. |
|||
![]() |
|
vbVeryBeginner 05 Jul 2005, 10:48
try the following, it is about the same ur posted masm source
Code: org 0x100 lea dx,[helloworld] mov ah,9h int 21h mov ax,4c00h int 21h helloworld db "Hello World$" |
|||
![]() |
|
YONG 05 Jul 2005, 12:09
We may take advantage of FASM's syntax that a label simply means its offset, and thus the code can be simplified to:
Code: ... mov dx, helloworld mov ah, 9 int 21h ... YONG |
|||
![]() |
|
vid 05 Jul 2005, 15:33
did you try http://board.flatassembler.net/viewtopic.php?t=1178?
|
|||
![]() |
|
Fungos Bauux 06 Jul 2005, 13:54
Hi Bruno, im Brazilian too.. we can talk about asm programming, I have some old 8086/z80/8051 and 80386 asm knowledge.. so I stopped there in the ages of asm virii writing.. but now Im trying to get back to asm, but i havent too much time to do anything
![]() |
|||
![]() |
|
THEWizardGenius 06 Jul 2005, 23:24
BTW, this should be in the DOS or General forums, as the examples do not pertain to Windows.
|
|||
![]() |
|
spectrebane 10 Jul 2005, 20:59
You should try this site/book:
http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html The Art of Assembly Language Programming by Randall Hyde It teaches more than assembly programming. I bet you'll download the hole site... PS: I'm brazilian too! Maybe the internet is not too big as it seem... |
|||
![]() |
|
OzzY 10 Jul 2005, 22:56
Hi there!
I'm brazilian too! ![]() I started learning asm to understand how computer viruses work. I was so happy with asm and I loved DOS so much. But now I'm learning asm with Win32 and find it quiet funny. Now I know how to use those int's from DOS ages, as well as windows api's. ![]() It's good to have a lots of brazilians using FASM, cause it's the best assembler I've ever seen. And I'm 18 now, and studying programming since I was 12. But I fell in love with asm and FASM! ![]() Good luck with you self-teaching (this is how I learn my 12 languages and learned deeper asm and C.) For brazilians only: Vamo la porraaa!!! Os coders brasileiros são os melhores!!! LOL |
|||
![]() |
|
El Tangas 11 Jul 2005, 20:11
Register are in fact like variables, stored inside the processor, and not in external memory like real variables. You can do more things with registers than with normal variables, but there is only a small number of them.
The code example you posted is meant to be compiled to an .exe file, thats why it has separate sections ( .code, .data). To learn assembly, you should start by .com files, that are simpler. Also, you have to get a debugger to see what happens when your programs run, you will learn a lot that way. To learn MS-DOS assembly, I recomend Borland Turbo Debugger, you can get it from Borland's site for free. Longo e penoso é o caminho do aprendiz de assembly, mas as recompensas são grandes... Boa sorte |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.