How to use a string as an array in the preprocessor?
For example I have a string:
%define string "Hello World"
how do i get e.g. 'W' ?
Does the preprocessor have arrays?
I want to get a string character similar to C:
char *str = "Hello World";
char ch = str[6]; // just like that
I recently started learning assembler, literally half a week ago. I read the documentation:
https://www.nasm.us/xdoc/2.16.01/html/nasmdoc4.html.
I found operators like substr, which should be enough for my purposes. But I want to understand the preprocessor more thoroughly.