SLAU131V October 2004 – February 2020
1 MUL_I .macro x,y
2 .if ($symlen(x) == 0)
3 .emsg "ERROR -- Missing Parameter"
4 .mexit
5 .elseif ($symlen(y) == 0)
6 .emsg "ERROR -- Missing Parameter"
7 .mexit
8 .else
9 MOV x, R11
10 MOV y, R12
11 .endif
12 .endm
13
14 0000 MUL_I #50, #51
1 .if ($symlen(x) == 0)
1 .emsg "ERROR -- Missing Parameter"
1 .mexit
1 .elseif ($symlen(y) == 0)
1 .emsg "ERROR -- Missing Parameter"
1 .mexit
1 .else
1 0000 403B MOV #50, R11
0002 0032
1 0004 403C MOV #51, R12
0006 0033
1 .endif
15
16 0008 MUL_I
1 .if ($symlen(x) == 0)
1 .emsg "ERROR -- Missing Parameter"
"macromsg.asm", ERROR! at line 16: [ ***** USER ERROR ***** - ] ERROR -- Missing Parameter
1 .mexit
17
18
1 Assembly Error, No Assembly Warnings