View Single Post
Old 14 February 2023, 21:35   #318
iZero
Registered User
 
Join Date: Aug 2020
Location: Kokkola/Finland
Posts: 12
I decided to learn some Amiga asm and I'm going through the examples of Fabio Ciucci's assembler book. I have been using this extension to try the code (FS-UAE on MacOS). Now I run into some problems that I don't know how to resolve. The examples assemble fine with AsmPro on Amiga, but fails with the vasm/vlink.

One problem is these instructions:
Code:
	ANDI.L	D1,D0
	CMPI.L	D2,D0
I get an error on both:
Code:
error 9: instruction not supported on selected architecture
Is it so that those are just not supported in vasm and I should replace them with other instructions?

Second problem is the branches from includes. Example has two files, Lezione8r.s and startup1.s.

Lezione8r.s has include "startup1.s" and in that file there's a branch to label START which is in the main source file after the include. When trying to run the example, the linker says:

Code:
Startup1.o: In "HEAVYINIT":
                           Error 21: Startup1.o (CODE+0x2ba): Reference to undefined symbol START.
I guess that the difference is in the way how the includes are handled, but I don't know how to fix it. Hence the noobie question.

Last edited by iZero; 14 February 2023 at 21:47.
iZero is offline  
 
Page generated in 0.05163 seconds with 11 queries