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

# Test t1345: Byte string definition

Tested procedures
  ExpStoreString

Source & expected listing t1345.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=22, AUTOALIGN=ON, \ | | CODEPAGE=UTF-8, UNICODE=OFF | |t1345 PROGRAM FORMAT=BIN, WIDTH=16, MODEL=TINY, LISTMAP=OFF, LISTGLOBALS=OFF |[BIN] |[BIN] |0000:313233 | DB "123" |0003:313233 | DB '123' |0006:313233 | D B"123" |0009:313233 | D B'123' |000C:313233 | D B "123" |000F:313233 | D B '123' |0012:31323334 | D B "12",B"34" |0016:31323334 | D B '12',"34" |001A:3132333400 | D B "12",B'34',B 0 |001F:3132333400 | D B "12","34",0 |0024:3132223334 | D B "12""34" |0029:313227273334 | D B "12''34" |002F:3132253334 | D B "12%%34" |0034:27 | D B "'" |0035:2727 | D B "''" |0037:22 | D B """" |0038:2222 | D B """""" |003A: | ; Invalid string syntax: |003A: | D B "12"'34' ; E6101 expected. |### E6101 Expression ""12"" is followed by unexpected character "'". |003A: | D B """ ; E6160 expected. |### E6160 Syntax error in the string """ ; E6160 expected.. |003A:3132 | D B "12%34" ; E7313 expected. |### E7313 Macro %variable "%34" cannot be used outside %MACRO..%ENDMACRO block. | | ENDPROGRAM t1345`

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

▲Back to the top▲