Author Topic: Define a large vector and elegantly preallocate it?  (Read 1210 times)

Offline Rideon7

  • Jr. Member
  • *
  • Posts: 2
Define a large vector and elegantly preallocate it?
« on: August 18, 2021, 03:55:27 PM »
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