flat assembler
Message board for the users of flat assembler.
Index
> Main > Help on macros |
Author |
|
Tomasz Grysztar 19 Dec 2006, 16:01
I'm not sure what labels have you declared for this (it's out of context), but should do it like:
Code: MACRO WrtMes NuMes { MOV DH, Fila+IncFil*2+4+NuMes MOV DL, Columna-4 CALL WriteXY MOV AH, 9 MOV DX, Mens#NuMes INT 21h } REPT 7 i:1 { WrtMes i } No time go deep into fasm's macro syntax details, I can just recommend reading the manual and Understanding fasm article. |
|||
19 Dec 2006, 16:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.