quote:
Original post by Mithrandir
Of course there are ASM commands that fill entire segments of memory with a word, but using ASM commands is unportable, and may not work on some CPU''s, so it''s best to use a C++ friendly way to do this.
It works on all CPUs which can run windows. Unless you use an MMX/SSE enhanced version, which has not been suggested yet. How else do you think you could compile an exe once and run it on any computer running Windows? Intel ASM works on all processors which run Windows. Of course, if you want to port it to MacOS or Acorn or whathaveyou then you''d have to do some work.