I don't know devpac specifically, but could it be because you haven't given the size directive to move/add? eg:
move.w #2,d0
move.w #2,d1
add.w d0,d1
rts
There are 3 possiblities for the size, .b (byte, 8 bits), .w (word, 16 bits) or .l (long, 32 bits)...
|