e-andrew wrote:".." генерирует метку с уникальным именем.
Code: Select all
macro test {
..test_label:
jmp ..test_label
}
test
test
e-andrew wrote:".." генерирует метку с уникальным именем.
Code: Select all
macro test {
..test_label:
jmp ..test_label
}
test
test
A respected programmer told me they are unique, clearly I'm an idiot for not double checking.Anton_K wrote:Why "..jumpaddr:"? This labels should be marked as local with "local" directive. For now they are global (".." marks global labels) and macros can be used only once bacause of name collision of the label.
Да, именно так.e-andrew wrote:Я так понял, для генерации уникальных меток нужно добавлять local
This programmer is no longer respected for watching our forum all the time and commenting about it on the IRC, but not having courage for commenting on the forum anymore.hidnplayr wrote:A respected programmer told me they are unique, clearly I'm an idiot for not double checking.Anton_K wrote:Why "..jumpaddr:"? This labels should be marked as local with "local" directive. For now they are global (".." marks global labels) and macros can be used only once bacause of name collision of the label.
Users browsing this forum: No registered users and 5 guests