flat assembler
Message board for the users of flat assembler.
Index
> Main > Three tiny programs |
Author |
|
m 01 Mar 2007, 08:09
Hi !
This contains three tiny programs (Bad, Worse & Ugly). Thanks !
|
|||||||||||
01 Mar 2007, 08:09 |
|
vid 01 Mar 2007, 12:26
"format MS COFF" tells FASM to do so.
|
|||
01 Mar 2007, 12:26 |
|
m 02 Mar 2007, 04:27
Hi Remy Vincent !
I used MS COFF format so that the programs were portable (atleast across Linux and Windows32). Now that fasm produced a .obj file you'll need a linker (sorry !), i used GoLink from GoDevTools.com. Besides, you can't use UPPERCASE letters because some of them are assigned to there smaller counterparts. eg: v for 5 and V for 5,000 x for 10 and X for 10,000 Well, sorry for the inconvenience . |
|||
02 Mar 2007, 04:27 |
|
vid 02 Mar 2007, 07:46
MS COFF objects are usable on linux?
|
|||
02 Mar 2007, 07:46 |
|
tantrikwizard 02 Mar 2007, 13:05
vid wrote: MS COFF objects are usable on linux? |
|||
02 Mar 2007, 13:05 |
|
DOS386 03 Mar 2007, 10:38
Quote: This contains three tiny programs (Bad, Worse & Ugly). LOGO: Great Calendar: Great Add to "official" examples ^^^ please ROMANIA: Buggy ("-1" generates a page fault) _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
03 Mar 2007, 10:38 |
|
Vasilev Vjacheslav 03 Mar 2007, 14:40
tomasz, what about creating stand-along part of fasm examples site? something like examples.flatassembler.com (like for fasmlib)
|
|||
03 Mar 2007, 14:40 |
|
m 05 Mar 2007, 05:34
Code: ELF_FORMAT = 1 MS_COFF_FORMAT = 2 PLATFORM = MS_COFF_FORMAT include 'plat.inc' Hey vid ! Did you see my code (the lines above) ? The file "plat.inc" has something to look at. If you define "PLATFORM" equal to ELF_FORMAT then the file will be a usable on Linux. (It will need a linking step though) |
|||
05 Mar 2007, 05:34 |
|
m 05 Mar 2007, 05:37
Hi NTOSKRNL_VXE !
Sorry for that Page Fault. Oops i did not do any error checking. By the way i would love to have my code included in official examples ! |
|||
05 Mar 2007, 05:37 |
|
OzzY 05 Mar 2007, 18:21
Quote:
I like this idea. This could be wiki site that users could edit to add examples and tutorials. |
|||
05 Mar 2007, 18:21 |
|
tantrikwizard 05 Mar 2007, 19:18
OzzY wrote:
HEAR HEAR! (or is it HERE HERE?) |
|||
05 Mar 2007, 19:18 |
|
dead_body 06 Mar 2007, 20:17
Quote: tomasz, what about creating stand-along part of fasm examples site? something like examples.flatassembler.com (like for fasmlib). +1 |
|||
06 Mar 2007, 20:17 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.