Download Usage Restrictions - Renesas Electronics
Transcript
ZBG-CD-10-0030 Attachment 1 - 18/78 Example: .text .option nomacro mov 0x12345678, r10 [Workaround] Remove the relevant mov instruction from the specified range of the .option nomacro pseudo instruction. [Correction] This restriction has been removed in Ver. 2.70. No. 36 Restriction on specifying only (tilde) in macro [Description] The assembler is terminated abnormally if only is specified in a macro. Example: .macro MACRO ~ .endm MACRO [Workaround] Do not specify the above sort of code. [Correction] This restriction has been removed in Ver. 2.60. No. 37 Restriction on (tilde) when macro is nested [Description] ‘ (tilde)’ might cause an error when a macro is nested. Example: .macro inc.w ld.w var, reg var, reg add 1, reg st.w reg, var .endm .macro aaa rnum ld.w [r~rnum], r30 add 1, r30 st.w r30, [r~rnum] .endm .macro bbb inc.w rnum [r~rnum], r30 .endm .set pathreg, 25 .text .globl f f: aaa $pathreg -- OK bbb $pathreg -- Error .macro MACRO