flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 14 Mar 2004, 19:44
Selevercin wrote: Hello everyone. Well, visibly you created DOS program or Windows console program (I can't guess what exactly without the source) and probably it runs and finishes instantly without any user interface. You can try to run your program in some debugger (I recomend you OllyDbg for Windows programs) so, you can trace what actually happen. If you want to make compilation from command line, you should download some of FASM console versions - DOS, Win32 or Linux one. Regards. |
|||
![]() |
|
Selevercin 14 Mar 2004, 21:00
Is there an easy was to get an interger? Right now my code is real simple:
db 97 Which is supposed to make a character... Assembly is a bit strange to me... I am much more comfortable with C++. All I want to be able to do is do math quickly with a user inputed int and then print the answer to the screen. I picked assembly for the speed. Thanks again! |
|||
![]() |
|
JohnFound 14 Mar 2004, 21:45
Selevercin wrote: I am much more comfortable with C++. Like a lot of people these days. ![]() You have to read (this very minute ![]() http://board.flatassembler.net/topic.php?t=1178&start=0&postdays=0&postorder=asc&highlight= Don't worry, they are short, but will give you very strong acceleration in basics of the assembler and FASM. At the end you will ask for more. ![]() Regards. |
|||
![]() |
|
Selevercin 15 Mar 2004, 00:35
That tutorial looks real helpful! Sadly I still can't compile from the command line. When I try to run the following: C:\download\fasmw151\FASMW.EXE Test.asm empty.bin
I get an error saying: Could not load file empty.bin I have also tried to run simply fasm test.asm empty.bin, but I get an error saying "Windows cannot find 'fasm'...". Any ideas? |
|||
![]() |
|
hitertan 15 Mar 2004, 01:06
why don't you use fasmc151?
it is a console edition in windows.and it has a simple expression just like fasm test.asm test.exe fasmw151 is a gui edition and you can open it just move your mouse on it and click it! _________________ i like assembly language and i study it in my pleasure time tanshunquan@hotmail.com |
|||
![]() |
|
Selevercin 15 Mar 2004, 02:13
Ah! Everything works fine now. I have the FASMW program and thought I had to use the command line. Thanks everyone!
|
|||
![]() |
|
Madis731 15 Mar 2004, 18:27
My quick tip is: when making console apps, I'm too lazy to put kernels Sleep(some time) at the end of it. So what I do, is make a file like a.bat and write cmd inside it(or command in Win9x/Me) so when running test.com inside it, I can see the output AND the program won't exit:D
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.