diff --git a/assemble.c b/assemble.c index 94da852..bb0e964 100644 --- a/assemble.c +++ b/assemble.c @@ -969,7 +969,7 @@ static int assemble( case P_ODD: if (!EOL(*cp)) { - report(stack->top, ".EVEN must not have an argument\n"); + report(stack->top, ".ODD must not have an argument\n"); } if (!(DOT & 1)) { list_word(stack->top, DOT, 0, 1, ""); diff --git a/tests/test-blkb.lst.ok b/tests/test-blkb.lst.ok index 0ccced9..b4e7d2d 100644 --- a/tests/test-blkb.lst.ok +++ b/tests/test-blkb.lst.ok @@ -25,7 +25,7 @@ test-blkb.mac:21: ***ERROR Argument to .BLKB/.BLKW must be constant 23 test-blkb.mac:24: ***ERROR .EVEN must not have an argument 24 .even 1 ; error: no argument allowed -test-blkb.mac:25: ***ERROR .EVEN must not have an argument +test-blkb.mac:25: ***ERROR .ODD must not have an argument 25 000324 000 .odd 1 ; error: no argument allowed 25