# file opened: designed_address.asm
 1    0000                      STRUCT  S_TEST
 2    0000 ~            byte    BYTE 'B'
 3    0000 ~            word    WORD '2W'
 4    0000 ~            dword   DWORD '432D'
 5    0000                      ENDS
 6    0000
 7    0000                      ORG 0x6780
 7    6780                OUTPUT designed_address.bin
 8    6780
 9    6780 42 57 32 44  default     S_TEST      ; default initial values
 9    6784 32 33 34
10    6787 00                   DB 0
11    6788              designed    S_TEST = 0x1234     ; should not emit any bytes, but assign labels from 0x1234
12    6788 41 42 2F 43  initialized S_TEST 'A','/B','/__C'
12    678C 5F 5F 2F
13    678F 00                   DB 0
14    6790
designed_address.asm(15): warning: [STRUCT] designed address without label = no effect
15    6790                      S_TEST = $      ; shoud not emit bytes, but also no label = warning
16    6790
designed_address.asm(17): error: [STRUCT] Syntax error in designed address:  ++
17    6790              syntaxE S_TEST = ++     ; test syntax error
18    6790
# file closed: designed_address.asm

Value    Label
------ - -----------------------------------------------------------
0x6780 X default
0x6780 X default.byte
0x6783 X default.dword
0x6781 X default.word
0x1234 X designed
0x1234 X designed.byte
0x1237 X designed.dword
0x1235 X designed.word
0x6788 X initialized
0x6788 X initialized.byte
0x678B X initialized.dword
0x6789 X initialized.word
0x0007 X S_TEST
0x0000 X S_TEST.byte
0x0003 X S_TEST.dword
0x0001 X S_TEST.word
0x0000 X syntaxE
0x0000 X syntaxE.byte
0x0003 X syntaxE.dword
0x0001 X syntaxE.word
