Re: virt68k/68030 problem

[email protected] (Michael van Elst) Fri, 19 Jan 2024 12:40:04 -0000 (UTC)
Newsgroups gmane.os.netbsd.ports.m68k
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Tetsuya Isaki) writes:

>The assembler doesn't seem to recognize TT0 and TT1.
>All other 030 port also use ".long" instead of pmove to %tt[01].

The assembler defaults to 68020 + 68851 that doesn't have tt registers,
if you build with -m68030 the instruction would be understood.

You can also write something like:

	.save
	.chip 68030
	pmove %tt0,%d0
	.restore

to temporarily switch to 68030 instructions and then back to whatever
the assembler was started with.