flat assembler
Message board for the users of flat assembler.

Index > Main > fasm-metaprogramming

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
revolution wrote:

Any change to memory will be reflected back into the CPU at all cache levels. This is by design so that self modifying code will work. It might not be fast or efficient but it will work.


Self-modifying code apparently slows everything down like mad (esp. on P4 or Athlon64) if you aren't like 4 kb away from the part you modify. (To avoid too off-topic here, I guess I'll post details in "Projects and Ideas / another DOS Befunge93 (BEFI.COM)" ). It's clearly not a good idea if you want maximal speed.
Post 22 Apr 2010, 21:25
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.