atari email archive

a collection of messages sent at Atari from 1983 to 1992.

"Features" of the new ASM68

(1 / 1)


	As many of you may have already noticed, the new 
Intermetrics assembler for the 68000 has a few differences. 
You probably already know that you must say "BSET" rather 
than "BSET.B" or "BSET.L" ( also "BCLR" and "BTST" ), but 
you may not have noticed the change in the treatment of ADDQ
and SUBQ. The assembler used to automatically convert, say, 
an "ADDA #4,SP" to an "ADDQ", or an "ADDQ #12,SP" to an 
"ADDA". It no longer does so. The latter case produces an
(obscure) error message and the former produces EXACTLY 
what you asked for, which happens to be two bytes longer 
than the old automatic substitute and may well push branches
out of range and other fun stuff.

	SO, it would well repay your efforts to check all 
your sources for compliance with the new rules to avoid some
subtle and nasty problems. I should also point out that as 
of now you need to be sure to include the appropriate 
release of the assembler, as well as the compiler, when 
producing the archive tape for a released project.

	Incidentally, they also changed the starting number 
for symbols, so you can't easily compare .ol's. See me if you
are baffled
			Mike

P.S.	I wrote this memo on the bus this morning (which may
explain the choppiness), and am quite happy with my new toy,
an Olivetti M10 portable computer. Techno-freaks (and people
who would like to do their word-processing in formerly unlikely
locales are invited to drop by and play with it.
Message 1 of 1

Aug 23, 1985