| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t1346: Unichar string definition

Tested procedures
  ExpStoreUString

Source & expected listing t1346.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, AUTOALIGN=ON, \ | | CODEPAGE=UTF-8, UNICODE=OFF | |t1346 PROGRAM FORMAT=BIN, WIDTH=16, MODEL=TINY, LISTMAP=OFF, LISTGLOBALS=OFF |[BIN] |[BIN] |0000:310032003300 | DU "123" |0006:310032003300 | DU '123' |000C:310032003300 | D U"123" |0012:310032003300 | D U'123' |0018:310032003300 | D U "123" |001E:310032003300 | D U '123' |0024:310032003334 | D U "12",B"34" |002A:3100320033003400 | D U '12',"34" |0032:31003200333400 | D U "12",B'34',B 0 |0039:90 ....AutoAlignment stuff. |003A:31003200330034000000 | D U "12","34",0 |0044:31003200220033003400 | D U "12""34" |004E:310032002700270033003400 | D U "12''34" |005A:31003200250033003400 | D U "12%%34" |0064:2700 | D U "'" |0066:27002700 | D U "''" |006A:2200 | D U """" |006C:22002200 | D U """""" |0070: | ; Invalid string syntax: |0070: | D U "12"'34' ; E6101 expected. |### E6101 Expression ""12"" is followed by unexpected character "'". |0070: | D U """ ; E6160 expected. |### E6160 Syntax error in the string """ ; E6160 expected.. |0070:31003200 | D U "12%34" ; E7313 expected. |### E7313 Macro %variable "%34" cannot be used outside %MACRO..%ENDMACRO block. | | ENDPROGRAM t1346`

Expected messages t1346.out
  `I0180 Assembling source file "t1346.htm". I0270 Assembling source "t1346". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t1346". "t1346.htm"{50} I0510 Assembling program pass 1. "t1346.htm"{50} E6101 Expression ""12"" is followed by unexpected character "'". "t1346.htm"{71} E6160 Syntax error in the string """ ; E6160 expected.. "t1346.htm"{73} E7313 Macro %variable "%34" cannot be used outside %MACRO..%ENDMACRO block. "t1346.htm"{75} I0530 Assembling program pass 2 - final. "t1346.htm"{50} E6101 Expression ""12"" is followed by unexpected character "'". "t1346.htm"{71} E6160 Syntax error in the string """ ; E6160 expected.. "t1346.htm"{73} E7313 Macro %variable "%34" cannot be used outside %MACRO..%ENDMACRO block. "t1346.htm"{75} I0660 16bit TINY BIN file "t1346.bin" created, size=116. "t1346.htm"{77} I0650 Program "t1346" assembled in 2 passes with errorlevel 7. "t1346.htm"{77} I0750 Source "t1346" (101 lines) assembled in 2 passes with errorlevel 7. I0860 Listing file "t1346.htm.lst" created, size=1805. I0990 EuroAssembler terminated with errorlevel 7.`

▲Back to the top▲