mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
19 lines
317 B
NASM
19 lines
317 B
NASM
%define u(x) __utf16__(x)
|
|
%define w(x) __utf32__(x)
|
|
|
|
db `Test \u306a\U0001abcd\n`
|
|
dw u(`Test \u306a\U0001abcd\n`)
|
|
dd w(`Test \u306a\U0001abcd\n`)
|
|
|
|
db `\u306a`
|
|
db `\xe3\x81\xaa`
|
|
|
|
nop
|
|
|
|
mov ax,u(`a`)
|
|
mov bx,u(`\u306a`)
|
|
mov cx,u(`\xe3\x81\xaa`)
|
|
mov eax,u(`ab`)
|
|
mov ebx,u(`\U0001abcd`)
|
|
mov ecx,w(`\U0001abcd`)
|