New answers tagged

4 votes

Is there an equivalent of "#pragma once" in RGBASM (Gameboy DMG assembly language)?

Hard to give a definite answer without seeing the real structure. Even more as 'assemblers' isn't a singular language. each is different. A link to it's documentation would be very helpful and in what ...
user avatar
  • 168k
2 votes

Is there an equivalent of "#pragma once" in RGBASM (Gameboy DMG assembly language)?

Assemblers generally read all of the source files in a project two or three times. The first time will be used to define symbols. When targeting platforms where the size of an instruction will ...
user avatar
  • 27.4k
17 votes
Accepted

Is there an equivalent of "#pragma once" in RGBASM (Gameboy DMG assembly language)?

Assembly language is typically not providing any safety nets or harnesses - so, in general, the answer would be "no". Assembly language is also not in any way standardized, especially in the ...
user avatar
  • 28.3k

Top 50 recent answers are included