EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t1440: Hexadecimal number syntax


Tested procedures
ExpParseNumber   ExpEvalData  
Source & expected listing t1440.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=16, AUTOALIGN=OFF | |t1440 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF, LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16,PURPOSE=DATA |0000: |; Usual hexadecimal number syntax: |0000:2B1A | DW 1A2Bh |0002:2B1A | DW 0x1A2B |0004:2B1A | DW 1a2bh |0006:2B1A | DW 0x_1A_2B |0008: |; Unusual but tolerated syntax: |0008:2B1A | DW 0X__1A_2B |000A:2B1A | DW 0x_1A_2Bh |000C:2B1A | DW 000000000000000000000000000000000001A2Bh |000E:2B1A | DW 1___________________________________A2Bh |0010:2B1A | DW 1_A___2_B___H |0012:0000 | DW 0x0 |0014:0000 | DW 0x_ |0016:0000 | DW 0x |0018: |; Incorrect syntax: |0018: | DW 1A2Bh_ ; Separator after suffix. |### E6101 Expression "1A2Bh" is followed by unexpected character "_". |0018: | DW 0_x1A2B ; Separator within prefix. |### E6101 Expression "0_" is followed by unexpected character "x". |0018: | DW 00x1A2B ; Invalid prefix. |### E6101 Expression "00" is followed by unexpected character "x". |0018: | DW 0x1A.2B ; Decimal point in integer number. |### E6101 Expression "0x1A" is followed by unexpected character ".". |0018: | DW _1A2Bh ; Separator at the beginning of number. |### E6601 Symbol "_1A2Bh" mentioned at "t1440.htm"{77} was not found. | |ENDPROGRAM t1440
Expected messages t1440.out
I0180 Assembling source file "t1440.htm". I0270 Assembling source "t1440". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t1440". "t1440.htm"{52} I0510 Assembling program pass 1. "t1440.htm"{52} E6101 Expression "1A2Bh" is followed by unexpected character "_". "t1440.htm"{69} E6101 Expression "0_" is followed by unexpected character "x". "t1440.htm"{71} E6101 Expression "00" is followed by unexpected character "x". "t1440.htm"{73} E6101 Expression "0x1A" is followed by unexpected character ".". "t1440.htm"{75} I0510 Assembling program pass 2. "t1440.htm"{52} E6101 Expression "1A2Bh" is followed by unexpected character "_". "t1440.htm"{69} E6101 Expression "0_" is followed by unexpected character "x". "t1440.htm"{71} E6101 Expression "00" is followed by unexpected character "x". "t1440.htm"{73} E6101 Expression "0x1A" is followed by unexpected character ".". "t1440.htm"{75} I0530 Assembling program pass 3 - final. "t1440.htm"{52} E6101 Expression "1A2Bh" is followed by unexpected character "_". "t1440.htm"{69} E6101 Expression "0_" is followed by unexpected character "x". "t1440.htm"{71} E6101 Expression "00" is followed by unexpected character "x". "t1440.htm"{73} E6101 Expression "0x1A" is followed by unexpected character ".". "t1440.htm"{75} E6601 Symbol "_1A2Bh" mentioned at "t1440.htm"{77} was not found. "t1440.htm"{77} I0660 16bit TINY BIN file "t1440.bin" created, size=24. "t1440.htm"{79} I0650 Program "t1440" assembled in 3 passes with errorlevel 6. "t1440.htm"{79} I0750 Source "t1440" (111 lines) assembled in 2 passes with errorlevel 6. I0860 Listing file "t1440.htm.lst" created, size=1439. I0990 EuroAssembler terminated with errorlevel 6.

▲Back to the top▲