NASM Forum > Programming with NASM

Define a large vector and elegantly preallocate it?

(1/1)

Rideon7:
How do I fill a large data field with different values with or without times. So something like this: data_marks times 15, but in such a way that there are 15 different values in this data field.
For example a vector with vector + 0 = 1, vector + 1 = 2, vector + 3 = 4, vector + 4 = 8 and so on. How can I do this elegantly, for example in one line, without getting a misinterpretation by nasm? Thank you in advance

Navigation

[0] Message Index

Go to full version