EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2640: Pseudoinstruction %FOR


Tested procedures
PseudopcFOR   PseudopcENDFOR  
Source & expected listing t2640.htm.lst
| |EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, LISTREPEAT=OFF | |t2640 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF, IMAGEBASE=0 |[BIN] |[BIN] SEGMENT PURPOSE=DATA |0000:00 | DB 0 ; Ordinary instruction. |0001: | |31 |Cnt %FOR 1..3 ; Definition of %FOR block. |0001:01 | DB %Cnt ; Repeated instruction. | | %ENDFOR Cnt |0004: | |0004:04 | DB 4 ; Ordinary instruction. | | ENDPROGRAM t2640
Expected messages t2640.out
I0180 Assembling source file "t2640.htm". I0270 Assembling source "t2640". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2640". "t2640.htm"{52} I0510 Assembling program pass 1. "t2640.htm"{52} I0530 Assembling program pass 2 - final. "t2640.htm"{52} I0660 16bit TINY BIN file "t2640.bin" created, size=5. "t2640.htm"{61} I0650 Program "t2640" assembled in 2 passes with errorlevel 0. "t2640.htm"{61} I0750 Source "t2640" (84 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2640.htm.lst" created, size=570. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2640. bin
0000: 00 01 02 03 04                                   °····

▲Back to the top▲