Adjust tests with new error message.

This commit is contained in:
Olaf Seibert 2021-05-28 17:18:55 +02:00
parent 426db4afda
commit e21f390722
2 changed files with 20 additions and 20 deletions

View File

@ -152,14 +152,14 @@ test-operands.mac:106: ***ERROR Junk at end of line (',3 ; bad
106 000134 076152 000001 000002 cmpni 1,2,3 ; bad
test-operands.mac:107: ***ERROR Invalid syntax (operand 2: comma expected)
test-operands.mac:107: ***ERROR Invalid expression (operand 2)
test-operands.mac:107: ***ERROR Invalid expression
test-operands.mac:107: ***ERROR Invalid expression (complex relocation)
107 000142 076152 000003 000000 cmpni 3 ; bad
test-operands.mac:108: ***ERROR Invalid syntax (operand 2: comma expected)
108 000150 076152 000004 000005 cmpni 4 5 ; bad
test-operands.mac:109: ***ERROR Invalid expression (operand 1)
test-operands.mac:109: ***ERROR Invalid expression (operand 2)
test-operands.mac:109: ***ERROR Invalid expression
test-operands.mac:109: ***ERROR Invalid expression
test-operands.mac:109: ***ERROR Invalid expression (complex relocation)
test-operands.mac:109: ***ERROR Invalid expression (complex relocation)
109 000156 076152 000000 000000 cmpni <>,<> ; bad
110
111 ; OC_CIS3 operands are optional and an extension
@ -175,13 +175,13 @@ test-operands.mac:116: ***ERROR Invalid syntax (operand 2: comma expected)
test-operands.mac:116: ***ERROR Invalid expression (operand 2)
test-operands.mac:116: ***ERROR Invalid syntax (operand 3: comma expected)
test-operands.mac:116: ***ERROR Invalid expression (operand 3)
test-operands.mac:116: ***ERROR Invalid expression
test-operands.mac:116: ***ERROR Invalid expression
test-operands.mac:116: ***ERROR Invalid expression (complex relocation)
test-operands.mac:116: ***ERROR Invalid expression (complex relocation)
116 000206 076150 000001 000000 addni 1 ; bad
000214 000000
test-operands.mac:117: ***ERROR Invalid syntax (operand 3: comma expected)
test-operands.mac:117: ***ERROR Invalid expression (operand 3)
test-operands.mac:117: ***ERROR Invalid expression
test-operands.mac:117: ***ERROR Invalid expression (complex relocation)
117 000216 076150 000001 000002 addni 1,2 ; bad
000224 000000
test-operands.mac:118: ***ERROR Invalid syntax (operand 2: comma expected)
@ -191,9 +191,9 @@ test-operands.mac:118: ***ERROR Invalid syntax (operand 3: comma expected)
test-operands.mac:119: ***ERROR Invalid expression (operand 1)
test-operands.mac:119: ***ERROR Invalid expression (operand 2)
test-operands.mac:119: ***ERROR Invalid expression (operand 3)
test-operands.mac:119: ***ERROR Invalid expression
test-operands.mac:119: ***ERROR Invalid expression
test-operands.mac:119: ***ERROR Invalid expression
test-operands.mac:119: ***ERROR Invalid expression (complex relocation)
test-operands.mac:119: ***ERROR Invalid expression (complex relocation)
test-operands.mac:119: ***ERROR Invalid expression (complex relocation)
119 000236 076150 000000 000000 addni <>,<>,<> ; bad
000244 000000
120
@ -212,23 +212,23 @@ test-operands.mac:126: ***ERROR Invalid syntax (operand 3: comma expected)
test-operands.mac:126: ***ERROR Invalid expression (operand 3)
test-operands.mac:126: ***ERROR Invalid syntax (operand 4: comma expected)
test-operands.mac:126: ***ERROR Invalid expression (operand 4)
test-operands.mac:126: ***ERROR Invalid expression
test-operands.mac:126: ***ERROR Invalid expression
test-operands.mac:126: ***ERROR Invalid expression (complex relocation)
test-operands.mac:126: ***ERROR Invalid expression (complex relocation)
126 000274 076132 000001 000000 movtci 1 ; bad
test-operands.mac:126: ***ERROR Invalid expression
test-operands.mac:126: ***ERROR Invalid expression (complex relocation)
000302 000000 000000
test-operands.mac:127: ***ERROR Invalid syntax (operand 3: comma expected)
test-operands.mac:127: ***ERROR Invalid expression (operand 3)
test-operands.mac:127: ***ERROR Invalid syntax (operand 4: comma expected)
test-operands.mac:127: ***ERROR Invalid expression (operand 4)
test-operands.mac:127: ***ERROR Invalid expression
test-operands.mac:127: ***ERROR Invalid expression (complex relocation)
127 000306 076132 000001 000002 movtci 1,2 ; bad
test-operands.mac:127: ***ERROR Invalid expression
test-operands.mac:127: ***ERROR Invalid expression (complex relocation)
000314 000000 000000
test-operands.mac:128: ***ERROR Invalid syntax (operand 4: comma expected)
test-operands.mac:128: ***ERROR Invalid expression (operand 4)
128 000320 076132 000001 000002 movtci 1,2,3 ; bad
test-operands.mac:128: ***ERROR Invalid expression
test-operands.mac:128: ***ERROR Invalid expression (complex relocation)
000326 000003 000000
test-operands.mac:129: ***ERROR Invalid syntax (operand 2: comma expected)
test-operands.mac:129: ***ERROR Invalid syntax (operand 3: comma expected)
@ -239,11 +239,11 @@ test-operands.mac:130: ***ERROR Invalid expression (operand 1)
test-operands.mac:130: ***ERROR Invalid expression (operand 2)
test-operands.mac:130: ***ERROR Invalid expression (operand 3)
test-operands.mac:130: ***ERROR Invalid expression (operand 4)
test-operands.mac:130: ***ERROR Invalid expression
test-operands.mac:130: ***ERROR Invalid expression
test-operands.mac:130: ***ERROR Invalid expression
test-operands.mac:130: ***ERROR Invalid expression (complex relocation)
test-operands.mac:130: ***ERROR Invalid expression (complex relocation)
test-operands.mac:130: ***ERROR Invalid expression (complex relocation)
130 000344 076132 000000 000000 movtci <>,<>,<>,<> ; bad
test-operands.mac:130: ***ERROR Invalid expression
test-operands.mac:130: ***ERROR Invalid expression (complex relocation)
000352 000000 000000
131
132 .end

View File

@ -61,7 +61,7 @@
61 000124 000007 .word 1 + ^! 2 * 3 ! ; 1 + 6 = 7
62 000126 000007 .word 1 + ^/ 2 * 3 / ; 1 + 6 = 7
63 000130 000007 .word 1 + ^$ 2 * 3 $ ; 1 + 6 = 7
test-prec.mac:64: ***ERROR Invalid expression
test-prec.mac:64: ***ERROR Invalid expression (complex relocation)
64 000132 000003 000000 .word 1 + ^* 2 * 3 * ; Invalid expression
65
66 ;;;;;