;RX Family C/C++ Compiler (V2.03.00.03 [04 Dec 2014]) 08-Jun-2018 18:56:32 ;*** CPU TYPE *** ;-ISA=RXV2 ;*** COMMAND PARAMETER *** ;-output=src=CCRX_machine_h.src ;-isa=rxv2 ;-fpu ;-include=C:\Renesas\CS_~1\CC\CC-RX\V203~1.00\include,C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\generate ;-lang=c ;-nomessage ;-obj_path=src ;-debug ;-listfile=src/CCRX_machine_h.lst ;-show=source,conditionals,definitions,expansions ;-asm_path=src ;-nologo ;CCRX_machine_h.c .glb __dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_ .glb __max .glb __min .glb __revl .glb __revw .glb __xchg .glb __rmpab .glb __rmpaw .glb __rmpal .glb __rolc .glb __rorc .glb __rotl .glb __rotr .glb __brk .glb __wait .glb __nop .glb __set_ipl .glb __get_ipl .glb __set_psw .glb __get_psw .glb __set_fpsw .glb __get_fpsw .glb __set_usp .glb __get_usp .glb __set_isp .glb __get_isp .glb __set_intb .glb __get_intb .glb __set_bpsw .glb __get_bpsw .glb __set_bpc .glb __get_bpc .glb __set_fintv .glb __get_fintv .glb __emul .glb __emulu .glb __macw1 .glb __macw2 .glb __macl .glb __chg_pmusr .glb __set_acc .glb __get_acc .glb __setpsw_i .glb __clrpsw_i .glb __set_extb .glb __get_extb ;LineNo. C-SOURCE STATEMENT .SECTION P,CODE __dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_: .STACK __dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_=4 ; 1 #include ; 2 ; 3 /* ; 4 * https://www.renesas.com/ja-jp/doc/products/tool/doc/011/r20ut3248jj0105-ccrx.pdf ; 5 * 表4.26 (356頁 ~ 359頁 / 全970頁) ; 6 */ ; 7 void _dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_(void) { ; } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",7 RTS __max: .STACK __max=4 ; 8 signed long _max(signed long data1, signed long data2) { return _builtin_max(data1, data2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",8 MAX R2, R1 RTS __min: .STACK __min=4 ; 9 signed long _min(signed long data1, signed long data2) { return _builtin_min(data1, data2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",9 MIN R2, R1 RTS __revl: .STACK __revl=4 ; 10 unsigned long _revl(unsigned long data) { return _builtin_revl(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",10 REVL R1, R1 RTS __revw: .STACK __revw=4 ; 11 unsigned long _revw(unsigned long data) { return _builtin_revw(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",11 REVW R1, R1 RTS __xchg: .STACK __xchg=4 ; 12 void _xchg(signed long *data1, signed long *data2) { _builtin_xchg(data1, data2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",12 MOV.L [R1], R14 XCHG [R2].L, R14 MOV.L R14, [R1] RTS __rmpab: .STACK __rmpab=8 ; 13 long long _rmpab(long long init, unsigned long count, signed char *addr1, signed char *addr2) { return _builtin_rmpab(init, count, addr1, addr2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",13 PUSH.L R6 MOV.L R1, R14 MOV.L R2, R5 MOV.L 08H[R0], R2 SHAR #1FH, R5, R6 MOV.L R4, R1 MOV.L R14, R4 RMPA.B MOV.L R5, R2 MOV.L R4, R1 RTSD #04H, R6-R6 __rmpaw: .STACK __rmpaw=8 ; 14 long long _rmpaw(long long init, unsigned long count, short *addr1, short *addr2) { return _builtin_rmpaw(init, count, addr1, addr2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",14 PUSH.L R6 MOV.L R1, R14 MOV.L R2, R5 MOV.L 08H[R0], R2 SHAR #1FH, R5, R6 MOV.L R4, R1 MOV.L R14, R4 RMPA.W MOV.L R5, R2 MOV.L R4, R1 RTSD #04H, R6-R6 __rmpal: .STACK __rmpal=8 ; 15 long long _rmpal(long long init, unsigned long count, long *addr1, long *addr2) { return _builtin_rmpal(init, count, addr1, addr2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",15 PUSH.L R6 MOV.L R1, R14 MOV.L R2, R5 MOV.L 08H[R0], R2 SHAR #1FH, R5, R6 MOV.L R4, R1 MOV.L R14, R4 RMPA.L MOV.L R5, R2 MOV.L R4, R1 RTSD #04H, R6-R6 __rolc: .STACK __rolc=4 ; 16 unsigned long _rolc(unsigned long data) { return _builtin_rolc(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",16 ROLC R1 RTS __rorc: .STACK __rorc=4 ; 17 unsigned long _rorc(unsigned long data) { return _builtin_rorc(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",17 RORC R1 RTS __rotl: .STACK __rotl=4 ; 18 unsigned long _rotl(unsigned long data, unsigned long num) { return _builtin_rotl(data, num); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",18 ROTL R2, R1 RTS __rotr: .STACK __rotr=4 ; 19 unsigned long _rotr(unsigned long data, unsigned long num) { return _builtin_rotr(data, num); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",19 ROTR R2, R1 RTS __brk: .STACK __brk=4 ; 20 void _brk(void) { _builtin_brk(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",20 BRK RTS __wait: .STACK __wait=4 ; 21 // void _int_exception(signed long num) { _builtin_int_exception(num); } ; 22 // F0544802:The value of the parameter for the in-line function is outside the defined range. ; 23 void _wait(void) { _builtin_wait(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",23 WAIT RTS __nop: .STACK __nop=4 ; 24 void _nop(void) { _builtin_nop(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",24 NOP RTS __set_ipl: .STACK __set_ipl=4 ; 25 void _set_ipl(signed long level) { _builtin_set_ipl(level); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",25 MVFC PSW, R14 SHLL #1CH, R1 SHLR #04H, R1 AND #0F0FFFFFFH, R14 OR R14, R1 MVTC R1, PSW RTS __get_ipl: .STACK __get_ipl=4 ; 26 unsigned char _get_ipl(void) { return _builtin_get_ipl(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",26 MVFC PSW, R14 REVL R14, R1 AND #0FH, R1 RTS __set_psw: .STACK __set_psw=4 ; 27 void _set_psw(unsigned long data) { _builtin_set_psw(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",27 MVTC R1, PSW RTS __get_psw: .STACK __get_psw=4 ; 28 unsigned long _get_psw(void) { return _builtin_get_psw(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",28 MVFC PSW, R1 RTS __set_fpsw: .STACK __set_fpsw=4 ; 29 void _set_fpsw(unsigned long data) { _builtin_set_fpsw(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",29 MVTC R1, FPSW RTS __get_fpsw: .STACK __get_fpsw=4 ; 30 unsigned long _get_fpsw(void) { return _builtin_get_fpsw(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",30 MVFC FPSW, R1 RTS __set_usp: .STACK __set_usp=4 ; 31 void _set_usp(void *data) { _builtin_set_usp(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",31 MVTC R1, USP RTS __get_usp: .STACK __get_usp=4 ; 32 void * _get_usp(void) { return _builtin_get_usp(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",32 MVFC USP, R1 RTS __set_isp: .STACK __set_isp=4 ; 33 void _set_isp(void *data) { _builtin_set_isp(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",33 MVTC R1, ISP RTS __get_isp: .STACK __get_isp=4 ; 34 void * _get_isp(void) { return _builtin_get_isp(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",34 MVFC ISP, R1 RTS __set_intb: .STACK __set_intb=4 ; 35 void _set_intb(void *data) { _builtin_set_intb(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",35 MVTC R1, INTB RTS __get_intb: .STACK __get_intb=4 ; 36 void * _get_intb(void) { return _builtin_get_intb(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",36 MVFC INTB, R1 RTS __set_bpsw: .STACK __set_bpsw=4 ; 37 void _set_bpsw(unsigned long data) { _builtin_set_bpsw(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",37 MVTC R1, BPSW RTS __get_bpsw: .STACK __get_bpsw=4 ; 38 unsigned long _get_bpsw(void) { return _builtin_get_bpsw(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",38 MVFC BPSW, R1 RTS __set_bpc: .STACK __set_bpc=4 ; 39 void _set_bpc(void *data) { _builtin_set_bpc(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",39 MVTC R1, BPC RTS __get_bpc: .STACK __get_bpc=4 ; 40 void * _get_bpc(void) { return _builtin_get_bpc(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",40 MVFC BPC, R1 RTS __set_fintv: .STACK __set_fintv=4 ; 41 void _set_fintv(void *data) { _builtin_set_fintv(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",41 MVTC R1, FINTV RTS __get_fintv: .STACK __get_fintv=4 ; 42 void * _get_fintv(void) { return _builtin_get_fintv(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",42 MVFC FINTV, R1 RTS __emul: .STACK __emul=4 ; 43 signed long long _emul(signed long data1, signed long data2) { return _builtin_emul(data1, data2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",43 MOV.L R1, R4 EMUL R2, R4 MOV.L R5, R2 MOV.L R4, R1 RTS __emulu: .STACK __emulu=4 ; 44 unsigned long long _emulu(unsigned long data1, unsigned long data2) { return _builtin_emulu(data1, data2); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",44 MOV.L R1, R4 EMULU R2, R4 MOV.L R5, R2 MOV.L R4, R1 RTS __macw1: .STACK __macw1=4 ; 45 short _macw1(short *data1, short *data2, unsigned long count) { return _builtin_macw1(data1, data2, count); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",45 CMP #00H, R3 MOV.L #00000000H, R14 MULLO R14, R14 BEQ L52 L47: ; entry BTST #00H, R3 BGEU L49 L48: ; entry SUB #02H, R3 MOV.L [R1+], R14 MOV.L [R2+], R5 MACLO R14, R5 MACHI R14, R5 BNE L48 BRA L52 L49: ; entry SUB #01H, R3 BEQ L51 L50: ; entry SUB #02H, R3 MOV.L [R1+], R14 MOV.L [R2+], R5 MACLO R14, R5 MACHI R14, R5 BNE L50 L51: ; entry MOV.W [R1], R14 MOV.W [R2], R5 MACLO R14, R5 L52: ; entry RACW #01H MVFACHI R1 RTS __macw2: .STACK __macw2=4 ; 46 short _macw2(short *data1, short *data2, unsigned long count) { return _builtin_macw2(data1, data2, count); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",46 CMP #00H, R3 MOV.L #00000000H, R14 MULLO R14, R14 BEQ L59 L54: ; entry BTST #00H, R3 BGEU L56 L55: ; entry SUB #02H, R3 MOV.L [R1+], R14 MOV.L [R2+], R5 MACLO R14, R5 MACHI R14, R5 BNE L55 BRA L59 L56: ; entry SUB #01H, R3 BEQ L58 L57: ; entry SUB #02H, R3 MOV.L [R1+], R14 MOV.L [R2+], R5 MACLO R14, R5 MACHI R14, R5 BNE L57 L58: ; entry MOV.W [R1], R14 MOV.W [R2], R5 MACLO R14, R5 L59: ; entry RACW #02H MVFACHI R1 RTS __macl: .STACK __macl=4 ; 47 long _macl(short *data1, short *data2, unsigned long count) { return _builtin_macl(data1, data2, count); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",47 CMP #00H, R3 MOV.L #00000000H, R14 MULLO R14, R14 BEQ L66 L61: ; entry BTST #00H, R3 BGEU L63 L62: ; entry SUB #02H, R3 MOV.L [R1+], R14 MOV.L [R2+], R5 MACLO R14, R5 MACHI R14, R5 BNE L62 BRA L66 L63: ; entry SUB #01H, R3 BEQ L65 L64: ; entry SUB #02H, R3 MOV.L [R1+], R14 MOV.L [R2+], R5 MACLO R14, R5 MACHI R14, R5 BNE L64 L65: ; entry MOV.W [R1], R14 MOV.W [R2], R5 MACLO R14, R5 L66: ; entry MVFACMI R1 RTS __chg_pmusr: .STACK __chg_pmusr=12 ; 48 void _chg_pmusr(void) { _builtin_chg_pmusr(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",48 MVFC PSW, R14 BTST #14H, R14 BNE L69 L68: ; entry OR #00100000H, R14 PUSH.L R14 L70: MVFC PC, R14 ADD #L69-L70, R14 PUSH.L R14 RTE L69: ; entry RTS __set_acc: .STACK __set_acc=4 ; 49 void _set_acc(signed long long data) { _builtin_set_acc(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",49 MVTACLO R1 MVTACHI R2 RTS __get_acc: .STACK __get_acc=4 ; 50 signed long long _get_acc(void) { return _builtin_get_acc(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",50 MVFACMI R1 SHLL #10H, R1 MVFACHI R2 RTS __setpsw_i: .STACK __setpsw_i=4 ; 51 void _setpsw_i(void) { _builtin_setpsw_i(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",51 SETPSW I RTS __clrpsw_i: .STACK __clrpsw_i=4 ; 52 void _clrpsw_i(void) { _builtin_clrpsw_i(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",52 CLRPSW I RTS __set_extb: .STACK __set_extb=4 ; 53 void _set_extb(void *data) { _builtin_set_extb(data); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",53 MVTC R1, EXTB RTS __get_extb: .STACK __get_extb=4 ; 54 void * _get_extb(void) { return _builtin_get_extb(); } .LINE "C:\Renesas\e2_studio_63_rl78rxrza\workspace_e2_v630\TestCCRX_machine_h\src\CCRX_machine_h.c",54 MVFC EXTB, R1 RTS ; 55 ; 56 /* ; 57 * 表4.26の最後の3項目 (CC-RX V2.05 or later) ; 58 */ ; 59 #if __RENESAS_VERSION__ >= 0x02050000 ; 60 void _dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy_dummy2(void) { ; } ; 61 void _bclr(unsigned char *data, unsigned long bit) { __bclr(data, bit); } ; 62 void _bnot(unsigned char *data, unsigned long bit) { __bnot(data, bit); } ; 63 void _bset(unsigned char *data, unsigned long bit) { __bset(data, bit); } ; 64 #endif .END