Chapter 4 Optimization

4.1Purpose of This Chapter

The assembler and linker examine source statements containing conditional branches, unconditional branches, subroutine calls, data transfer instructions, arithmetic instructions, logical instructions, bit manipulation instructions, and user-defined instructions to determine the shortest possible machine language instruction corresponding to the instruction.

This chapter uses examples to explain what optimization is.

NOTE:

The assembler and linker make changes to object code, not instruction

 

 

mnemonics. Pay close attention to this point when viewing list files. When an @

 

 

is displayed before a line number in the list file, it indicates that the statement

 

 

has been optimized.

 

 

 

44 Purpose of This Chapter

Page 56
Image 56
Panasonic MN1030 user manual Purpose of This Chapter, Has been optimized