Answer the question
In order to leave comments, you need to log in
Creating labels with FASM macro?
Hello! I have a small problem. I don't know much about FASM. There was a need to write a macro to automatically create labels. Here's how I see it:
macro create_label ИМЯ{
public my_label_ИМЯ
my_label_ИМЯ:
; Выполнение какого-то кода
jmp exit_label
}
Answer the question
In order to leave comments, you need to log in
Tried like this:
macro create_label ИМЯ{
public my_label_\ИМЯ
my_label_\ИМЯ:
; Выполнение какого-то кода
jmp exit_label
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question