View Single Post
Old 21 June 2021, 21:41   #319
a/b
Registered User
 
Join Date: Jun 2016
Location: europe
Posts: 1,039
-2 bytes due to alignment (extra zero at the end is never used):
Code:
;         moveq #msg2-msg3+1,d3
         moveq #msg2-msg3,d3
...
;msg3 dc.b ' digits will be printed'
;msg2 dc.b 10,0
msg3 dc.b ' digits will be printed',10
msg2
	even
Since there's some code in between that could be activated (dma on/off)... I'm not familiar with vasm syntax, in asm-one I'd do (and yes, you can do AO there and it will auto-correct it):
Code:
	IFGT	.write-*-128
	bsr.w	.write
	ELSE
	bsr.b	.write
	ENDC	; IFGT
a/b is offline  
 
Page generated in 0.04381 seconds with 11 queries