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

# Test t2751: Pseudoinstruction %REPEAT

Tested procedures
  Ctx1stRepeat

Source & expected listing t2751.htm.lst
  `| |EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, LISTREPEAT=OFF | |t2751 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF,IMAGEBASE=0 |[BIN] |[BIN] SEGMENT PURPOSE=DATA |0000:00 | DB 0 ; Data marker. |31 |%Cnt %SETA 1 | | %REPEAT Cnt ; Definition of %REPEAT block. |0001:01 | DB %Cnt ; Data generated with %REPEAT. |32 |%Cnt %SETA %Cnt + 1 |TRUE |Cnt %ENDREPEAT %Cnt > 3 |0004: | |0004:04 | DB 4 ; Data marker. | | ENDPROGRAM t2751`

Expected messages t2751.out
  `I0180 Assembling source file "t2751.htm". I0270 Assembling source "t2751". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2751". "t2751.htm"{49} I0510 Assembling program pass 1. "t2751.htm"{49} I0530 Assembling program pass 2 - final. "t2751.htm"{49} I0660 16bit TINY BIN file "t2751.bin" created, size=5. "t2751.htm"{59} I0650 Program "t2751" assembled in 2 passes with errorlevel 0. "t2751.htm"{59} I0750 Source "t2751" (82 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2751.htm.lst" created, size=641. I0990 EuroAssembler terminated with errorlevel 0.`

Expected output file t2751. bin

      0000: 00 01 02 03 04                                   °····

▲Back to the top▲