flat assembler
Message board for the users of flat assembler.

Index > Heap > request to revolution: update fasmarm to 1.44

Author
Thread Post new topic Reply to topic
ProMiNick



Joined: 24 Mar 2012
Posts: 432
Location: Russian Federation, Sochi
ProMiNick
What needed to do:
1. fix bug in PROCAPS.INC that in case of spilled args with base sp finished proc with "ldr r10, [sp],4" instead of "ldr pc, [sp],4"
2. add ARMEXPORT.INC with wrap x86 fasm export.inc in fixes similar to ARMRESRC.INC but with addition "dword fix word" & "word fix hword" and back
add use of it in wince.inc
3. add examples from https://board.flatassembler.net/topic.php?t=21328
4. make adaptations to patchs in ARMv8.INC to be compatibable with fasm 1.73.21 - last syntax additions as definite are very tasty.

use as donor my package(everithing posted in forum could be used by any member so way as he want if this dont restricts rights of other members).
use attachment in topic https://board.flatassembler.net/topic.php?p=210369 I updated it
or
use https://www.dropbox.com/s/xnhr6ru0fvlb4i2/fasmw17321COMFRIENDLY.zip?dl=0

please. thanks.

_________________
I don`t like to refer by "you" to one person.
My soul requires acronim "thou" instead.
Post 09 Jan 2020, 20:27
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16951
Location: In your JS exploiting you and your system
revolution
There are lots of things I want to do to update it.

But this stuf is currently allowing me to eat and I have restrictions upon what I can run here.

Believe me I want fasmarm fixed more than you do.

Frustration abound.
Post 10 Jan 2020, 14:18
View user's profile Send private message Visit poster's website Reply with quote
ProMiNick



Joined: 24 Mar 2012
Posts: 432
Location: Russian Federation, Sochi
ProMiNick
I would wish thou to solve airplanes bugs sooner.
But it seems that it is endless proccess.(
Post 10 Jan 2020, 15:23
View user's profile Send private message Send e-mail Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 665
guignol
revolution wrote:
There are lots of things I want to do to update it.

But this stuf is currently allowing me to eat and I have restrictions upon what I can run here.

Believe me I want fasmarm fixed more than you do.

Frustration abound.
the page requires JavaScript...

https://www.theregister.co.uk/2020/01/08/boeing_737_ng_cockpit_screen_blank_bug/ wrote:
Please turn JavaScript on and reload the page.
Post 11 Jan 2020, 19:08
View user's profile Send private message Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 665
guignol
try making a screenshot when posting about your "stuff", revō
Post 11 Jan 2020, 19:16
View user's profile Send private message Reply with quote
ProMiNick



Joined: 24 Mar 2012
Posts: 432
Location: Russian Federation, Sochi
ProMiNick
b.t.w. revolution I explore thour PROCAPS.INC proc macroset.
So, all is bad: I can`t fix thour macro because it is correct, but it incorrect handled by compiler.

It is amazing but from syntactical side all macros are correct.
When I cutoff ret macro (wrapped with outer conditions) outside of proc macro it produces valid code.
But even if I manualy instead of ld pc,[sp],+4 will use dw $E49DF004 (or dw $E49D0004 or dw $E49D1004 or ...) it will replace it with $E49A0004, if I used other condition then allways=$E0000000, again I got $xxxxAxxx instead of any other reg.

Moreover display directives when I place them in separate definition of ret are shown, when they placed in proc definition are not shown.
Looks like in racing for if-macro thumb support was broken compiler internal integrity - so not in all cases macros could guarantee that they will work according to fasm macro language.
So to ensure that compiler produces jump at some address we should store jump instruction to it again(doing that manualy in outer of complex macro-if blocks).
Post 11 Jan 2020, 20:52
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16951
Location: In your JS exploiting you and your system
revolution
Just when I thought I might finally finish this secondment. this happens.

Sad
Post 19 Jan 2020, 04:23
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8587
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
revolution wrote:
Just when I thought I might finally finish this secondment. this happens.

Sad

take care and good luck,

hope everything work out in the end,
Post 19 Jan 2020, 05:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.