Consider the following move instruction:
move.w #0x2700, %sr
This move instruction masks all interrupts. The immediate value 0x2700 is written to destination %sr. What is %sr? How does this instruction work?
Please point me to documentation that will explain % in this instruction? We are using GCC tools for compiling and assembling our code. Do I need GNU g++ assembler to understand % in this insturction or do I need Freescale Coldfire MCF548x Reference Manual. How do I get this reference manual? And please point me link to fetch the gnu assembler?
Thanks!
move.w #0x2700, %sr
This move instruction masks all interrupts. The immediate value 0x2700 is written to destination %sr. What is %sr? How does this instruction work?
Please point me to documentation that will explain % in this instruction? We are using GCC tools for compiling and assembling our code. Do I need GNU g++ assembler to understand % in this insturction or do I need Freescale Coldfire MCF548x Reference Manual. How do I get this reference manual? And please point me link to fetch the gnu assembler?
Thanks!