View Single Post
Old 15 January 2015, 16:44   #4
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by h0ffman View Post
Trying to assemble the PT315 source in Devpac but the BSS Sections have CNOP 0,4 for aligning the file info blocks. It fails saying..

BSS or OFFSET section cannot contain data

I can't seem to find the correct directive to get it to assemble?

Any ideas?
You could try vasm with or without -devpac mode. Vasm is mostly compatible with Devpac either way. I believe Frank recently changed vasm from always generating '0' with CNOP to generating NOP with CNOP in code sections. I don't know if this applies to -devpac mode though.

A fairly new version of vasm can be found in vbcc 0.9d.

http://sun.hasenbraten.de/vbcc/

Not only does vasm optimize better than devpac (vasm optimizes branches in both directions for example), but it should be faster. Leffmann timed vasm as being faster than devpac but still 20x slower than PhxAss. My recent tests on the 68060 showed 13x-18x slower than PhxAss so there may be some improvement due to vbcc compiler improvements (Leffmann's tests were done on a 68030 though). I tried a 68060 specific build of vasm with direct FPU use and didn't see any difference in speed. The IEEE fp library using version of vasm in the new vbcc is not so slow for a compiled assembler.
matthey is offline  
 
Page generated in 0.04173 seconds with 11 queries