1 # run tests for target Z80.
3 if [istarget z80-*-*] then {
6 # test parsing of equ definitions
8 # test parsing of " and '
11 run_dump_test "suffix"
12 # test assembling and disassembling instructions involving offsets
13 run_dump_test "offset"
14 gas_test_error "jr-forwf.s" "" "relative jump out of range (jr)"
15 gas_test_error "jr-backf.s" "" "relative jump out of range (jr)"
16 gas_test_error "djnz-backf.s" "" "relative jump out of range (djnz)"
18 # test assembling instruction with offset that is a label defined later
20 # test for data transfer instructions
21 run_dump_test "ld-group"
22 # test for block instructions
24 # test for arithmetic and logic
26 # test for rotate and shift
27 run_dump_test "rotate"
28 # test for bit manipulations
30 # test for branch instructions
31 run_dump_test "branch"
32 # test for input and output instructions
34 #test for other instructions
36 gas_test_error "ill_op.s" "" "Illegal operand: ld hl,(sp+0)"