Add support for the GBZ80 and Z80N variants of the Z80 architecture, and add DWARF...
[deliverable/binutils-gdb.git] / ld / testsuite / ld-z80 / labels.s
1 .text
2 .globl label1
3 .globl label2
4 .globl label3
5 .globl label4
6 .globl label5
7 .globl label6
8 .globl label7
9 .globl label8
10 .globl label9
11 .globl value8
12 .globl value8_1
13 .globl value8_2
14 .globl value8_3
15 .globl value16
16 .globl value24
17 .globl value32
18 .globl field_0
19 .globl field_1
20 _start:
21 label1:
22 ld a,b
23 label2:
24 ld a,c
25 label3:
26 ld a,d
27 label4:
28 ld a,e
29 label5:
30 ld a,h
31 label6:
32 ld a,l
33 label7:
34 ld a,(hl)
35 label8:
36 ld a,a
37 label9:
38 cpl
39
40 value8 .equ 0x12
41 value8_1 .equ 0xab
42 value8_2 .equ 0xcd
43 value8_3 .equ 0xef
44 value16 .equ 0x1234
45 value24 .equ 0x123456
46 value32 .equ 0x12345678
47
48 field_0 .equ 3
49 field_1 .equ field_0 + 1
This page took 0.030687 seconds and 4 git commands to generate.