summaryrefslogtreecommitdiff
path: root/test/struct.s
blob: dce527d0bc83ce63af47581f1ccfd418a62fb15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.struct lol
	oof .byte
	cia .word
	glo .dword
	nig .qword
	.union asd
		f  .qword
		ss .byte
		.struct aa
			lol .qword
			why .word
		.endstruct
	.endunion
	why .word
.endstruct


.org 0

lda #1
ldb #lol.asd.f
ldx #lol.asd.ss
ldy #lol.glo
lda #lol.oof
ldb #lol.asd.aa.lol
ldx #lol.asd.aa.why
ldy #lol.why
a
l a
v
q