flat assembler
Message board for the users of flat assembler.
Index
> Non-x86 architectures > FASMARM v1.44 - Cross assembler for ARM CPUs Goto page Previous 1, 2, 3 ... 6, 7, 8 ... 31, 32, 33 Next |
Author |
|
vid 01 Jun 2006, 14:47
|
|||
01 Jun 2006, 14:47 |
|
vid 01 Jun 2006, 19:59
without it, it does nothing, no loader error message, no crash report, just nothing.
now you could make another script which deletes COREDLL_ lines, i think that means these are unsupported. (i should install vim already, i know...) |
|||
01 Jun 2006, 19:59 |
|
sylwek32 01 Jun 2006, 22:28
Do you know a assembler for windows ce sh3 machines ?
I need.. Can somebody help me ? Please.. Got win CE 2.0 on my Jornada 620lx.. I can pay 10 euros if somebody makes a sh3 win ce version of fasm.. Have paypal! |
|||
01 Jun 2006, 22:28 |
|
vid 01 Jun 2006, 23:58
i don't have idea what SH3 is, but i have only seen SH4 mentioned in documentation. And commercially, rewriting assembler module would be surely worth more, and if somebody will do it, then for joy of it and not for money.
but maybe you could introduce SH3 technologies to us |
|||
01 Jun 2006, 23:58 |
|
revolution 02 Jun 2006, 01:38
sylwek32 wrote: I can pay 10 euros if somebody makes a sh3 win ce version of fasm.. |
|||
02 Jun 2006, 01:38 |
|
revolution 02 Jun 2006, 02:21
Something to try is to point to core_imports twice like this:
Code: data import dw RVA core_imports,0,0,RVA core_name,RVA core_imports dw 0,0,0,0,0 core_imports: MessageBoxW dw 0x8000035A dw 0 core_name db 'COREDLL.DLL',0 align 4 end data vid wrote: you could make another script which deletes COREDLL_ lines |
|||
02 Jun 2006, 02:21 |
|
vid 02 Jun 2006, 02:56
nice idea, it works!
|
|||
02 Jun 2006, 02:56 |
|
revolution 02 Jun 2006, 12:39
I have added the ARMPE example and COREDLL.INC to the download attachment at the head of this thread.
|
|||
02 Jun 2006, 12:39 |
|
vid 04 Jun 2006, 15:06
played a little bit more with FASMARM, here are some of my suggestion:
1. why not add '!' as special symbol and so allow usual "sp!" instead of "sp,!" which DOES look a bit weird. anyway, i don't remember ever seeing "!" used inside name 2. wouldn't it be nice to allow [sp+4] (fasm style) to do same as [sp,4]? i am not sure, maybe there is some case when + wouldn't be clear, but for now i don't know of any. plus one question: what is difference between "b" and "bx"? |
|||
04 Jun 2006, 15:06 |
|
revolution 04 Jun 2006, 19:53
vid wrote: allow usual "sp!" instead of "sp,!" vid wrote: i don't remember ever seeing "!" used inside name vid wrote: wouldn't it be nice to allow [sp+4] Quote: what is difference between "b" and "bx"? |
|||
04 Jun 2006, 19:53 |
|
revolution 09 Jun 2006, 11:12
I have updated the package at the head of this thread to v1.08
- Fixed erroneous error with implicit r0 based addressing - Fixed priority of unary minus to match FASM v1.66 priority - Relaxed restrictions with register structure addresses when using zero offset - Enhanced MOV/MOVS to use ADD/SUB encoding when loading a register structure member - Generation of special encoding to allow user code to detect unencodable immediates and then select an alternate coding without causing assembly errors - Alignment bytes changed to 0xff to facilitate faster FLASH ROM updates - Added proc, apscall, import and literals macros to package, see each individual file for usage and special notes - STRUCT.INC and RESOURCE.INC converted from x86 to ARM format - COREDLL.INC converted to an imports definition file Also I have added three other PE examples to showcase the use of macros. You can now code things like: Code: proc Start uses [lr] apscall MessageBoxW, 0, *'Hello ArmCE world', *'ARM example HLI macros', 0 ret endp So now it is much easier for you to get some APP's running on your WinCE ARM devices. |
|||
09 Jun 2006, 11:12 |
|
vid 13 Jun 2006, 15:24
idea: make some new default extension, other than ".asm"
and, i 've read ARM can work with both big and little endian. How? thanks |
|||
13 Jun 2006, 15:24 |
|
revolution 13 Jun 2006, 15:59
vid wrote: idea: make some new default extension, other than ".asm" vid wrote: ARM can work with both big and little endian. How? |
|||
13 Jun 2006, 15:59 |
|
vid 13 Jun 2006, 18:28
revolution wrote:
Because i have x86 version of FASMW associated with .asm files, and i use to open them just by running them. This also opens ARM files with x86 fasm. and one more thing - there is no seeable difference, at least give it other name, like Flat Assembler for ARM, or just FASM-ARM etc. maybe just ".arm"? but i am sure this one is already used for something. i like ".fam", its something from "FASM ARM Assembly. or ".ars" (arm assembler) it will probably need a thread where people can suggest some ideas, (but too few people are into ARM on this board )and then poll to choose best... |
|||
13 Jun 2006, 18:28 |
|
revolution 14 Jun 2006, 04:24
You would need to edit the FASMW.ASM file to change the title and default extension. "_caption" and "_asm_extension" can be changed to suit. But editing that file leaves you vulnerable to having to edit it for each new update. To do it nicely would require co-operation with Tomasz Grysztar to move those two lines to another file like FASM.INC. Tomasz if you are reading this, can you help out vid here to separate the caption and extension strings?
The normal extension used by most ARM tools is ".s". Although other tools for x86 also use ".s". It is really just a matter of personal preference. |
|||
14 Jun 2006, 04:24 |
|
revolution 14 Jun 2006, 13:17
Add this note to above: You may also want to change "asm_filter" in FASMW.ASM.
vid wrote: maybe just ".arm"? but i am sure this one is already used for something. |
|||
14 Jun 2006, 13:17 |
|
vid 14 Jun 2006, 17:08
why, YOU can change fasmw.asm in your distribution (in fasmarm). And fasmw isn't updated often, so i don't see that as problem.
anyhow, thanks for advice. but i still like "ars", "frs", or even break 3-char extension and use "farm". |
|||
14 Jun 2006, 17:08 |
|
revolution 15 Jun 2006, 00:51
Quote: why, YOU can change fasmw.asm in your distribution Quote: fasmw isn't updated often However, it would be possible to make some type of auto-patch utility that makes changes on-the-fly. Essentially I am thinking of some sort of textual search and replace utility to make a new copy of whatever files need altering during the compilation phase. Like this: Search for X and replace with Y, assemble, delete temporary files. |
|||
15 Jun 2006, 00:51 |
|
vid 15 Jun 2006, 09:02
revolution wrote: However, it would be possible to make some type of auto-patch utility that makes changes on-the-fly. Essentially I am thinking of some sort of textual search and replace utility to make a new copy of whatever files need altering during the compilation phase. Like this: Search for X and replace with Y, assemble, delete temporary files. someone already got that idea http://board.flatassembler.net/topic.php?t=5244 |
|||
15 Jun 2006, 09:02 |
|
Goto page Previous 1, 2, 3 ... 6, 7, 8 ... 31, 32, 33 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.