flat assembler
Message board for the users of flat assembler.

Index > Main > flat assembler 1.70

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7801
Location: Kraków, Poland
Tomasz Grysztar
With this release the 1.69 development line is finally ended. Any new development will proceed in 1.71 line, which will be available in parallel to the stable 1.70 version on the download page.

However I am not planning to start any new development soon. If I still have some spare time for fasm, I would like to finish the Understanding fasm article first.
Post 17 Apr 2012, 22:18
View user's profile Send private message Visit poster's website Reply with quote
Enko



Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
Thats great news. And it will be really excelent if you can find some time to finish this article.
Post 17 Apr 2012, 23:18
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
1.70 result:

6.2kb/s download rate...
still waiting.... Smile

long life to fasm 1.70.
Post 17 Apr 2012, 23:47
View user's profile Send private message Visit poster's website Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade
Can hardly keep up with the new releases lately..

Its been said before, but its worth saying again: Thanks Smile
Post 18 Apr 2012, 06:31
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
Regarding comments in WHATSNEW.TXT

[+] Extended the syntax of "rept" directive to allow numerical expressions
to be calculated by preprocessor in its arguments.

is it possible to do something resembling this:
Code:
rept 8 c
{
    d = c+7
    xor r#d,r#d ; clear registers r8..r15
}
    

or should the code look like this instead:
Code:
rept 8 d:c+7
{
    xor r#d,r#d ; clear registers r8..r15
}
    

?
Post 18 Apr 2012, 18:06
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7801
Location: Kraków, Poland
Tomasz Grysztar
Simply:
Code:
rept 8 d:8 { xor r#d,r#d }    
There is a very similar example in the manual.

Or perhaps you wanted an example of some looping requiring inner calculations, like skipping every second register? As this is more complex and in this case you actually need to use the new abilities of "rept" (for the above one the old "rept" was enough):
Code:
rept 4 c { rept 1 d:6+c*2 \{ xor r\#d,r\#d \} }    
Post 18 Apr 2012, 18:23
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
I just posted about this on FreeDOS' News section, though it's hard to sum up all the changes. Anyways, thanks again for your efforts.
Post 18 Apr 2012, 20:06
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7801
Location: Kraków, Poland
Tomasz Grysztar
BTW, it is also mirrored on SourceForge: http://sourceforge.net/projects/fasm/files/
I keep uploading the milestone releases there.
Post 18 Apr 2012, 20:15
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Would you like if I edited the announcement and added that URL too?

It's just that FreeDOS (barely) likes to have backups on iBiblio, esp. for stuff in the Software List, though (IMNSHO) it's not been well-maintained over the years and is a bit disorganized and incomplete.

Actually, the FreeDOS website (and project) are more or less hosted on SourceForge itself. See http://freedos.sourceforge.net/ , it's the same thing. (I personally don't mind backing up things already backed up elsewhere, esp. if they are important and useful. Besides, it ain't a big package anyways, it's not like I'm mirroring all of Ubuntu!!)
Post 18 Apr 2012, 20:44
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
@Tomasz: I think I've got the answer. The example I gave (that you simplified to the example given in FASM.pdf) was not what I intend to do, but now I know how to approach my problem and that I can nest repts and use ever expanding complexities in those nested repts. Thanks!
Post 19 Apr 2012, 07:32
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7801
Location: Kraków, Poland
Tomasz Grysztar
There is also an added paragraph in section 2.3.7, which treats the special processing of symbolic variables in the parameters of "rept".
Post 19 Apr 2012, 09:27
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7801
Location: Kraków, Poland
Tomasz Grysztar
I had to re-upload the packages with a minor correction today. This would not be very important, however it changed the checksums of files - so if you have checksum stored somewhere, please update it.
Post 19 Apr 2012, 10:01
View user's profile Send private message Visit poster's website Reply with quote
cngsoft



Joined: 29 Apr 2004
Posts: 2
Location: Spain
cngsoft
It's been one million years since I last posted here, yet I kept using FASM to develop CPCE (now housed in http://cngsoft.no-ip.org/cpce/ and partially on hold because it will be fully rewritten for its 2.0 release), so I'd like to congratulate Mr. Grysztar for his always amazing work.

I'm afraid, however, that I've run into something that is either a bug or a consequence of the new features of 1.70. CPCE can be compiled into 16-bit DOS or 32-bit DPMI or Win32 binaries thanks to the usage of conditions (" if OS = 16 ... else ... end if") and definitions ("xdx equ dx" in the 16-bit binary and "edx" in the 32-bit binaries).

So far the method had worked flawlessly, but when I upgraded FASM from 1.69.42 to 1.70 lines like "mov w[xdx+1],ax" and "lea xdi,[xdx+xax-1]" were no longer accepted. Editing them by hand ("mov w[edx+1],ax") makes them work again, at the cost of depriving aliases of their strength.
Post 30 Apr 2012, 13:41
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7801
Location: Kraków, Poland
Tomasz Grysztar
Yes, it's a bug, thank you for the report.
Please try the freshly uploaded 1.70.01.
Post 30 Apr 2012, 20:18
View user's profile Send private message Visit poster's website Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 77
Melissa
Can't untar 1.70.1 archive for linux

bmaxa@maxa:/media/linux/bmaxa$ tar xvzf fasm-1.70.01.tgz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
bmaxa@maxa:/media/linux/bmaxa$
Post 01 May 2012, 09:51
View user's profile Send private message Reply with quote
cngsoft



Joined: 29 Apr 2004
Posts: 2
Location: Spain
cngsoft
And CPCE compiles now indeed like a charm! Thank you very much, Tomasz, you're the best!
Post 01 May 2012, 11:11
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 9179
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
thanks to tomasz, one of the great human on earth Smile
Post 01 May 2012, 13:09
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Melissa wrote:
Can't untar 1.70.1 archive for linux

bmaxa@maxa:/media/linux/bmaxa$ tar xvzf fasm-1.70.01.tgz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
bmaxa@maxa:/media/linux/bmaxa$


I see this "problem" too, though you can (for whatever reason) manually decode it with gzip or p7zip and then it unpacks okay (though weird in latter case).

The internal filesize is incorrectly reported or handled somehow. I'm not sure what happened, and I don't know what tool(s) he used to make the archive.

Quote:

(Tue May 01, 01:08 PM) /tmp/doydoy # gzip -lv fasm-1.70.01.tgz
method crc date time compressed uncompressed ratio uncompressed_name
defla 731e4edf Dec 31 18:00 242569 242588 0.0% fasm-1.70.01.tar
Post 01 May 2012, 18:10
View user's profile Send private message Visit poster's website Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 77
Melissa
Thanks rugxulo, that worked well Wink
Post 01 May 2012, 18:42
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> flat assembler 1.70

Thanks Smile

1.70.02 is out:

Code:
version 1.70.02 (May 22, 2012)

[-] Corrected the optimization of segment prefixes when the extended syntax
    of some string instructions ("cmps", "lods", "movs" and "outs") is
    used in long mode. Now it is consistent with optimizations done with
    all the other instructions.
    


I can't find any bugs in the compiler core, just the IDE bugs are still in: http://board.flatassembler.net/topic.php?t=12553
Post 15 Jun 2012, 03:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.