29 January 2023, 00:38 | #21 | |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,546
|
Quote:
ProAsm has CNOP, EVEN, ALIGN and ALIGN.L, none of which generate NOPs. ProAsm is very fast, but it does have a few bugs. It may crash if you have a single character label not on the first column. Some 68020 instructions are coded wrong, others can't take labels when they should be able to. Devpac has its own issues. The editor screws up if a source file has more than ~32,000 lines. Filenames can't have spaces in them. Barfly assembler is even faster than ProAsm, but it has one annoying 'feature' - it 'optimizes' code with immediate operands to another 'equivalent' form (but different opcode) even when all optimization is off. But this is all minor stuff. I have some x86 asm source that I can't find an assembler for. The ones I tried threw up an error on every line! |
|
29 January 2023, 13:23 | #22 | ||||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
Besides the restriction to code sections, a NOP used for alignment purposes should never be placed at an odd address. Example: Code:
frank@altair cat tst.asm section code,code dc.b -1 cnop 0,4 rts frank@altair vasmm68k_mot -quiet -Fbin tst.asm frank@altair hexdump -C a.out 00000000 ff 00 4e 71 4e 75 |..NqNu| Code:
frank@altair cat tst.asm section data,data dc.b -1 cnop 0,4 dc.w -1 frank@altair vasmm68k_mot -quiet -Fbin tst.asm frank@altair hexdump -C a.out 00000000 ff 00 00 00 ff ff |......| Quote:
Quote:
Quote:
|
||||
30 January 2023, 07:54 | #23 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Best asm for x86 seems to be NASM but don't expect it to be anywhere near what we have for 68k. It would be great if we had x86 asm/disasm that takes/outputs Mot' syntax. |
|
30 January 2023, 14:59 | #24 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
Code:
frank@nerthus cd vasm frank@nerthus gmake CPU=x86 SYNTAX=mot ... frank@nerthus ./vasmx86_mot -v vasm 1.9b (c) in 2002-2023 Volker Barthelmann vasm x86 cpu backend 0.7a (c) 2005-2006,2011,2015-2019 Frank Wille vasm motorola syntax module 3.16a (c) 2002-2022 Frank Wille vasm test output module 1.0 (c) 2002 Volker Barthelmann |
|
30 January 2023, 15:03 | #25 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
And for the disassembler ?
|
30 January 2023, 16:52 | #26 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Maybe Bruce writes one?
|
30 January 2023, 17:33 | #27 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
That would be great. Could allow me to start porting PC games.
|
16 February 2023, 15:52 | #28 | ||
Registered User
Join Date: May 2015
Location: Australia
Posts: 131
|
Quote:
Quote:
|
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WTB: Assempro for the Amiga | dy0d3 | MarketPlace | 3 | 22 June 2012 21:37 |
The Avengers Assemble on the Amiga | CodyJarrett | project.Amiga Lore | 0 | 06 May 2012 17:30 |
Current legal status of Assempro | jman | Coders. General | 17 | 24 December 2010 17:00 |
Forgot how to re-assemble a1200 lol | Techx | support.Hardware | 6 | 24 April 2008 22:10 |
assemble error | BippyM | Coders. General | 6 | 28 February 2007 21:05 |
|
|