??? 12/30/04 01:07 Read: times |
#84078 - No Magic Wand Responding to: ???'s previous message |
Raghunathan said:
The assembler just translates your mnemonics to machine language and has a minimal or no role to play in optimizing it or otherwise "making" it efficient. Of course there is this aspect of handling generic JMP and CALL instructions. The smart assembler will decide which variety to use - L, A, S. Apart from this, I am not sure if the assembler can contribute anything towards efficiency. Absolutely! The whole point of a low-level language such as assembler is that there is a direct, one-to-one correspondence between each source instruction and each generated machine instruction. Assembler is really just a shorthand that saves you having to remember & write binary machine opcodes (usually, you also get symbolic naming). Therefore the "efficiency" and "performance" of assembler code is entirely down to the skill of the programmer - you will get no optimisation help from the assembler! |
Topic | Author | Date |
Code efficiency/performance | 01/01/70 00:00 | |
The human optimization | 01/01/70 00:00 | |
No Magic Wand | 01/01/70 00:00 | |
Optimizing | 01/01/70 00:00 | |
A non-generalizable task... | 01/01/70 00:00 | |
Code efficiency | 01/01/70 00:00 | |
Single step with index finger | 01/01/70 00:00 | |
Efficiency | 01/01/70 00:00 | |
No Magic Wand | 01/01/70 00:00 | |
No Magic Wand | 01/01/70 00:00 | |
Outstanding Effort !![]() | 01/01/70 00:00 |