flat assembler
Message board for the users of flat assembler.

Index > Main > Multiple Passes & Optimize The Size Of Machine Code

Author
Thread Post new topic Reply to topic
KEYBOARD-CR!M!NAL



Joined: 01 Nov 2006
Posts: 1
KEYBOARD-CR!M!NAL 01 Nov 2006, 05:13
Hi,

Programming is new to me. I started reading the Flat Assembler Documentation as suggested in the FASM FAQ sticky. In the compiler overview [1.1], it states Flat Assembler is a fast Assembly language compiler for the x86 architecture processors, which does multiple passes to optimize the size generated machine code.

q] What does Multiple Passes mean?

q] What is Optimization?

q] How does Multiple Passes, optimize the size of the generated machine code?

Thanks
Post 01 Nov 2006, 05:13
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 01 Nov 2006, 05:24

  • Multiple passes usually means evaluating something more than once (e.g., each line of source code is read several times), saving specific necessary information for later.

  • Optimization means to optimize (make optimal = make best). Optimus is the superlative form of the word "good" in Latin (bonus = good, melior = better).

  • Sometimes things are used before they are defined. In this case, you can only guess until you connect all the dots and figure out what everything means.

    Quote:

    a = b + 2


    We must wait until we know what b is defined as.

    Quote:

    b = 10*5


    b equals fifty, so now we know that a equals fifty two.

    P.S. I'm sure most people on this forum will be able to explain much, much better than me. Anyways, hope this tides you over until then. Smile
Post 01 Nov 2006, 05:24
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:  


< 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.