.mmregs .def start stack .usect "STACK", 10h .bss a, 4 .bss x, 4 .bss y, 1 ; .def start .data table: .word 1,2,3,4 .word 8,6,4,2 .text start: STM #0, SWWSR STM #STACK+10h, SP stm #a, ar1 rpt #7 mvpd table, *ar1+ call sum end: b end sum: stm #a, ar3 stm #x, ar4 rptz a, #3 mac *ar3+, *ar4+, a stl a, @y ret .end ;.tltle "vectors.asm" .ref start .sect ".vectors" b start .end
编译提示如图片所示,大哥帮忙看一下啊
|