Document case-insensitivity bug.
[nasm.git] / test / utf.asm
blob1c8a8f09b92fc3f2a1667a245ce199b16e07fafe
1 %define u(x) __utf16__(x)
2 %define w(x) __utf32__(x)
4 db `Test \u306a\U0001abcd\n`
5 dw u(`Test \u306a\U0001abcd\n`)
6 dd w(`Test \u306a\U0001abcd\n`)
8 db `\u306a`
9 db `\xe3\x81\xaa`
11 dw __utf16__ "Hello, World!"
13 nop
15 mov ax,u(`a`)
16 mov bx,u(`\u306a`)
17 mov cx,u(`\xe3\x81\xaa`)
18 mov eax,u(`ab`)
19 mov ebx,u(`\U0001abcd`)
20 mov ecx,w(`\U0001abcd`)
22 %ifdef ERROR
23 dw __utf16__ 33
24 dw __utf16__, 46
25 dw __utf16__("Hello, World!",16)
26 dw __utf16__("Hello, World!",16
27 dw u(`\xff`)
28 %endif