21 January 2023, 22:59 | #1 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,820
|
correct option to re assemble code resourced by IRA
Are these the correct options to re assemble a disassembly done via IRA under Windows?
vasm.exe -devpac -m68000 -no-opt -Fhunkexe -kick1hunks file.asm |
21 January 2023, 23:13 | #2 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,335
|
if you used 68000 to disassemble you don't need to use -m68000. I don't think it's useful in any case, as IRA uses the MC68020 directive if you disassemble with 68020.
I'm using this: Quote:
|
|
21 January 2023, 23:38 | #3 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,522
|
Correct. IRA always writes the matching CPU directives for the given -M68xxx options into the output, which overwrites vasm command line options.
-devpac may be used instead of -no-opt, as Devpac-compatibility also disables all optimizations. There may be special cases where you need other options. For example -keepempty, when the original has empty sections which need to be preserved. |
22 January 2023, 22:16 | #4 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,820
|
Thanks both for the answers.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
resourced ReSource | Wepl | Coders. Asm / Hardware | 59 | 15 October 2023 23:05 |
Resource : How do you achieve exact same binary on a resourced file | kamelito | support.Apps | 5 | 30 April 2021 17:17 |
is this correct queston about small blitz basic code? | JPQ | Coders. Blitz Basic | 0 | 08 October 2019 09:40 |
68020 to 68000 code convertion using Ira and PhxAss | gulliver | Coders. Asm / Hardware | 18 | 12 April 2014 01:09 |
assemble error | BippyM | Coders. General | 6 | 28 February 2007 21:05 |
|
|