-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