Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure. Add an...
[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 value16
13 .globl value24
14 .globl value32
15 .globl field_0
16 .globl field_1
17 _start:
18 label1:
19 ld a,b
20 label2:
21 ld a,c
22 label3:
23 ld a,d
24 label4:
25 ld a,e
26 label5:
27 ld a,h
28 label6:
29 ld a,l
30 label7:
31 ld a,(hl)
32 label8:
33 ld a,a
34 label9:
35 cpl
36
37 value8 .equ 0x12
38 value16 .equ 0x1234
39 value24 .equ 0x123456
40 value32 .equ 0x12345678
41
42 field_0 .equ 3
43 field_1 .equ field_0 + 1
This page took 0.030403 seconds and 4 git commands to generate.