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

# Test t7215: Macroinstruction with explicit entry %: shifted to the second statement.

Tested procedures
  VarExpand MacCtxUpdate PseudopcMACRO

Source & expected listing t7215.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=16,NOWARN=2101,LISTMACRO=OFF | |t7215 PROGRAM FORMAT=BIN,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=ON |[COMGROUP] |[COMGROUP] | |;; | |MacroWithDefaultEntry %MACRO | | NOP | | NOP | | %ENDMACRO MacroWithDefaultEntry | |;; | |MacroWithExplicitEntry %MACRO | | NOP | |%: NOP | | %ENDMACRO MacroWithExplicitEntry | |;; |0000: |Lbl1:: MacroWithDefaultEntry ; Expected offset of Lbl1 is 0+0. |0002: |Lbl2:: MacroWithExplicitEntry ; Expected offset of Lbl2 is 2+1. |0004: |Lbl3:: MacroWithDefaultEntry ; Expected offset of Lbl3 is 4+0. |0006: |Lbl4:: MacroWithExplicitEntry ; Expected offset of Lbl4 is 6+1. | | ENDPROGRAM t7215 | **** ListGlobals "t7215.bin",Global=0,Public=4,Extern=0,eXport=0,Import=0 | Lbl1,[COMGROUP]:00000000h,VA=00000000h,scope='P' | Lbl2,[COMGROUP]:00000003h,VA=00000003h,scope='P' | Lbl3,[COMGROUP]:00000004h,VA=00000004h,scope='P' | Lbl4,[COMGROUP]:00000007h,VA=00000007h,scope='P'`

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

▲Back to the top▲