flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 23 Oct 2014, 15:49
The same reason. rept is preprocessor directive, but all numeric constants defined by "=" are assembling time constants and are unknown when the preprocessor runs.
Changing "=" to "equ" fixes it: Code: NumExc equ 17 NumInt equ 16 Count equ NumExc + NumInt rept Count n:0 { Interrupt#n: call Target } Target: mov cx,Interrupt1-Interrupt0 |
|||
![]() |
|
CandyMan 23 Oct 2014, 16:19
Thank you.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.