File tree Expand file tree Collapse file tree 4 files changed +46
-0
lines changed Expand file tree Collapse file tree 4 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ %ifdef ERROR
2+ %define ERR(x) x
3+ %else
4+ %define ERR(x)
5+ %endif
6+
7+ bits 16
8+
9+ rdpid eax
10+ ERR( rdpid ax )
11+
12+ bits 32
13+
14+ rdpid ebx
15+ ERR( rdpid bx )
16+
17+ bits 64
18+
19+ rdpid rcx
20+ rdpid ecx
21+ ERR( rdpid cx )
Original file line number Diff line number Diff line change 1+ ������������
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "description" : " Test rdpid" ,
4+ "id" : " rdpid" ,
5+ "format" : " bin" ,
6+ "source" : " rdpid.asm" ,
7+ "option" : " -Ox" ,
8+ "target" : [
9+ { "output" : " rdpid.bin" }
10+ ]
11+ },
12+ {
13+ "description" : " Test rdpid (error)" ,
14+ "ref" : " rdpid" ,
15+ "option" : " -Ox -DERROR" ,
16+ "target" : [
17+ { "stderr" : " rdpid.stderr" }
18+ ],
19+ "error" : " expected"
20+ }
21+ ]
Original file line number Diff line number Diff line change 1+ ./travis/test/rdpid.asm:10: error: invalid combination of opcode and operands
2+ ./travis/test/rdpid.asm:15: error: invalid combination of opcode and operands
3+ ./travis/test/rdpid.asm:21: error: invalid combination of opcode and operands
You can’t perform that action at this time.
0 commit comments