Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.m32cc
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.m32cc	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.m32cc	(revision 642)
@@ -1,5 +1,5 @@
 -c
 -finfo
--dir "D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug"
+-dir "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug"
 -M82
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c"
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c"
Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.sni
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.x30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.map
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.map	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.map	(revision 642)
@@ -1,14 +1,14 @@
 ##########################################
 # (1) LINK INFORMATION                   #
 ##########################################
-c:\program files (x86)\renesas\hew\tools\renesas\nc308wa\v542r00\bin\ln308.exe @D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.m32cl
+c:\program files (x86)\renesas\hew\tools\renesas\nc308wa\v542r00\bin\ln308.exe @C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.m32cl
 
 # LINK FILE INFORMATION
-ncrt0 (D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\ncrt0.r30)
-	May 25 12:00:38 2021
+ncrt0 (C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\ncrt0.r30)
+	May 28 16:39:45 2021
 
-SP4b1 (D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.r30)
-	May 25 12:02:25 2021
+SP4b1 (C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.r30)
+	May 28 17:06:41 2021
 
 
 ##########################################
@@ -89,7 +89,7 @@
 interrupt                        REL CODE    FE0000 000000 2     ncrt0
                                  REL CODE    FE0000 0002E2       ncrt0
 program                          REL CODE    FE02E2 000000 2     ncrt0
-                                 REL CODE    FE02E2 00019E 2     SP4b1
+                                 REL CODE    FE02E2 0001A4 2     SP4b1
 program_S                        ABS CODE    FF0000 000000       ncrt0
 vector                           ABS ROMDATA FFFD00 000100       ncrt0
 svector                          ABS ROMDATA FFFE00 000000       ncrt0
@@ -97,15 +97,15 @@
 # Total -------------------------------------------------------------------
                                      DATA          0000600(00001536) Byte(s)
                                      ROMDATA       0000124(00000292) Byte(s)
-                                     CODE          0000480(00001152) Byte(s)
+                                     CODE          0000486(00001158) Byte(s)
 
 ##########################################
 # (3) GLOBAL LABEL INFORMATION           #
 ##########################################
-$exit              fe02df  $lcd_4b            fe037e  $lcd_8b            fe03d0
-$lcd_char          fe03f0  $lcd_com           fe03e2  $tpo_us            fe03fe
-_decode_touche     fe02e2  _exit              fe02df  _lcd_init          fe0424
-_main              fe0470  dummy_int          fe02e1  start              fe0000
+$exit              fe02df  $lcd_4b            fe035c  $lcd_8b            fe03ae
+$lcd_char          fe03ce  $lcd_com           fe03c0  $tpo_us            fe03dc
+_decode_touche     fe02e2  _exit              fe02df  _lcd_init          fe0402
+_main              fe044e  dummy_int          fe02e1  start              fe0000
 
 ##########################################
 # (4) GLOBAL EQU SYMBOL INFORMATION      #
@@ -119,20 +119,20 @@
 ##########################################
 # (6) LOCAL LABEL INFORMATION            #
 ##########################################
-@ ncrt0 ( D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\ncrt0.r30 )
-@ SP4b1 ( D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.r30 )
+@ ncrt0 ( C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\ncrt0.r30 )
+@ SP4b1 ( C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.r30 )
 
 ##########################################
 # (7) LOCAL EQU SYMBOL INFORMATION       #
 ##########################################
-@ ncrt0 ( D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\ncrt0.r30 )
-@ SP4b1 ( D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.r30 )
+@ ncrt0 ( C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\ncrt0.r30 )
+@ SP4b1 ( C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.r30 )
 
 ##########################################
 # (8) LOCAL EQU BIT-SYMBOL INFORMATION   #
 ##########################################
-@ ncrt0 ( D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\ncrt0.r30 )
-@ SP4b1 ( D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.r30 )
+@ ncrt0 ( C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\ncrt0.r30 )
+@ SP4b1 ( C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.r30 )
 
 *** Mapping List ***
 
@@ -283,7 +283,7 @@
 interrupt
                                   00fe0000  00fe02e1       2e2   2
 program
-                                  00fe02e2  00fe047f       19e   2
+                                  00fe02e2  00fe0485       1a4   2
 program_S
                                   00ff0000  00ff0000         0   1
 vector
@@ -316,20 +316,20 @@
                                   00fe02e1         0   none ,g         0
 
 SECTION=program
-FILE=D:/tp_sp_lameynardie/sp4b1/SP4b1/SP4b1
-                                  00fe02e2  00fe047f       19e
+FILE=C:/Users/malameynar/Documents/TP_SP4/sp4b1/SP4b1/SP4b1
+                                  00fe02e2  00fe0485       1a4
   _decode_touche
-                                  00fe02e2        9b   func ,g         0
+                                  00fe02e2        79   func ,g         0
   $lcd_4b
-                                  00fe037e        52   func ,g         0
+                                  00fe035c        52   func ,g         0
   $lcd_8b
-                                  00fe03d0        12   func ,g         0
+                                  00fe03ae        12   func ,g         0
   $lcd_com
-                                  00fe03e2         f   func ,g         0
+                                  00fe03c0         f   func ,g         0
   $lcd_char
-                                  00fe03f0         e   func ,g         0
+                                  00fe03ce         e   func ,g         0
   $tpo_us
-                                  00fe03fe        26   func ,g         0
+                                  00fe03dc        26   func ,g         0
   _lcd_init
-                                  00fe0424        4b   func ,g         0
+                                  00fe0402        4b   func ,g         0
 
Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.mot
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.mot	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.mot	(revision 642)
@@ -21,21 +21,22 @@
 S224FE0260B10000FE00B0F100040000996F0000B083B0B10000FE00B0F100040000996F00E0
 S224FE028000B083B0B10000FE00B0F100040000996F0000B08302B0F100000200996F00003C
 S224FE02A0B80302B0F100000200996F0000B803B0B10000FE00BD000002996F0000B083B00F
-S224FE02C0B10000FE00B0F100000200996F0000B083D529000700D52B000000CD7004FEBB8F
+S224FE02C0B10000FE00B0F100000200996F0000B083D529000700D52B000000CD4E04FEBBB1
 S206FE02E0FF9E7C
-S224FE02E2EC0214CA030FD6F9DB0312C803F9A19A04CE8800B2FBC803FE76FEF0DAF0F6EE7B
-S224FE0302C803B2FBC803FE38FE46DE92CFFF3246BE92CFFF31467E92CFFF33F6EDC803B25F
-S224FE0322FBC803FE38FE46DD92CFFF3546BD92CFFF34467D92CFFF36F6EBC803B2FBC803F2
-S224FE0342FE38FE46DB92CFFF3846EB92CFFF37467B92CFFF3914C803F7B2FBC803FE76FEC9
-S224FE0362D792CFFF3076FEE792CFFF2A76FE77DA04CE7BFF34FF23CE75FFFCDEEC0230FE8D
-S224FE0382D6FAE5030198BBFED887DA06D6FFE5035BD6F7E5030198BBFED886DA06D6FEE5F9
-S224FE03A2035BD6F6E5030198BBFED885DA06D6FDE5035BD6F5E5030198BBFED884DA06D66A
-S224FE03C2FCE5035BD6F4E503D6F2E503FCDEEC0230FE38FECFA7FF38FEE883CFA0FFFCDEED
-S224FE03E2EC0230FED6F0E50338FECFE3FFFCEC0230FED6F8E50338FECFD5FFFCEC0231FE87
-S224FE0402145F038A1456038297FBFE4603D6F84003D6F84203126C001B6C00DAFCD6F0400A
-S224FE042203FCD6F0E50305983ACFD2FF0430CF4DFF058813CFC7FF0430CF42FF056400CF93
-S224FE0442BCFF0430CF37FF056400CFB1FF0420CF2CFF0428CF8BFFF8A6CF86FF040ECF81C4
-S222FE0462FFF8A1CF7CFF058813CF92FFDFDEF6EFE703CFAFFF044DCF76FFCF65FEDFE8
+S224FE02E2EC02F6EEC803B2FBC803FE38FE46DE92CFFF3246BE92CFFF31467E92CFFF33F618
+S224FE0302EDC803B2FBC803FE38FE46DD92CFFF3546BD92CFFF34467D92CFFF36F6EBC80320
+S224FE0322B2FBC803FE38FE46DB92CFFF3846EB92CFFF37467B92CFFF3914C803F7B2FBC8E6
+S224FE034203FE38FE46D792CFFF3046E792CFFF2A467792CFFF2338FFFCDEEC0230FED6FAC0
+S224FE0362E5030198BBFED887DA06D6FFE5035BD6F7E5030198BBFED886DA06D6FEE5035B8B
+S224FE0382D6F6E5030198BBFED885DA06D6FDE5035BD6F5E5030198BBFED884DA06D6FCE507
+S224FE03A2035BD6F4E503D6F2E503FCDEEC0230FE38FECFA7FF38FEE883CFA0FFFCDEEC0200
+S224FE03C230FED6F0E50338FECFE3FFFCEC0230FED6F8E50338FECFD5FFFCEC0231FE145F22
+S224FE03E2038A1456038297FBFE4603D6F84003D6F84203126C001B6C00DAFCD6F04003FC9F
+S224FE0402D6F0E50305983ACFD2FF0430CF4DFF058813CFC7FF0430CF42FF056400CFBCFFF7
+S224FE04220430CF37FF056400CFB1FF0420CF2CFF0428CF8BFFF8A6CF86FF040ECF81FFF8A8
+S224FE0442A1CF7CFF058813CF92FFDFDE14CA030FD6F9DB0312C803F6EFE703CFA4FFF9A19A
+S224FE0462DA2201B8BBC80347F000DAF3CF73FECF5CFF01B8BBC80347F000DA0612C803BBE0
+S208FE0482F2BBDCDF0B
 S224FFFD00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00D7
 S224FFFD20E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00B7
 S224FFFD40E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE0097
Index: branch/lameynardie/sp4b1/SP4b1/Debug/ncrt0.lst
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/Debug/ncrt0.lst	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/Debug/ncrt0.lst	(revision 642)
@@ -1,4 +1,4 @@
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 001
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 001
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -64,7 +64,7 @@
     60                                          ;
     61                                          ;Format:
     62                                          ;	SPECIAL	number
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 002
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 002
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -130,7 +130,7 @@
    122                                          ;	.call	_bcopy,G
    123                                          ;	jsr.a	_bcopy
    124                                          ;	.endm
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 003
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 003
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -196,7 +196,7 @@
    184  00005F  02                        M Z   	mov.b	#00H, R0L
    185  000060  B0F100000000r             M     	mov.l	#bss_MON1_SE_top, A1
    186  000066  996F0000r                 M     	mov.w	#sizeof bss_MON1_SE , R3
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 004
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 004
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -262,7 +262,7 @@
    246  0000E1  02                        M Z   	mov.b	#00H, R0L
    247  0000E2  B0F100000000r             M     	mov.l	#bss_MON3_E_top, A1
    248  0000E8  996F0000r                 M     	mov.w	#sizeof bss_MON3_E , R3
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 005
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 005
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -328,7 +328,7 @@
    308  000169  B0F100000000r             M     	mov.l	#data_NO_top ,A1
    309  00016F  996F0000r                 M     	mov.w	#sizeof data_NO , R3
    310  000173  B083                      M     	smovf.b
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 006
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 006
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -394,7 +394,7 @@
    370                                          	BCOPY	data_MON2_EI_top,data_MON2_E_top,data_MON2_E
    371  000217  B0B100000000r             M     	mov.l	#data_MON2_EI_top ,A0
    372  00021D  B0F100000000r             M     	mov.l	#data_MON2_E_top ,A1
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 007
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 007
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -460,7 +460,7 @@
    432  0002A3  B0F100000000r             M     	mov.l	#bss_FO_top, A1
    433  0002A9  996F0000r                 M     	mov.w	#sizeof bss_FO , R3
    434  0002AD  B803                      M     	sstr.b	
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 008
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 008
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -526,7 +526,7 @@
    494                                          ;
    495                                          ;	BCOPY	data_MON1_SOI_top,data_MON1_SO_top,data_MON1_SO
    496                                          ;	BCOPY	data_MON2_SOI_top,data_MON2_SO_top,data_MON2_SO
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 009
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 009
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
@@ -592,7 +592,7 @@
    556                                          ;---------------------------------------------------------------------
    557                                          	.glb	dummy_int
    558  0002E1                                  dummy_int:
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Tue May 25 12:00:38 2021  PAGE 010
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 28 16:39:45 2021  PAGE 010
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.m32cl
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.m32cl	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.m32cl	(revision 642)
@@ -1,7 +1,7 @@
 -L "nc382lib"
 -G
 -MS
--O "D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.x30"
+-O "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.x30"
 -M82
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\ncrt0.r30"
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\SP4b1.r30"
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\ncrt0.r30"
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\SP4b1.r30"
Index: branch/lameynardie/sp4b1/SP4b1/Debug/ncrt0.r30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/lameynardie/sp4b1/SP4b1/Debug/SP4b1.r30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/lameynardie/sp4b1/SP4b1/SP4b1.hwp
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/SP4b1.hwp	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/SP4b1.hwp	(revision 642)
@@ -3,16 +3,16 @@
 [DATABASE_VERSION]
 "2.8" 
 [PROJECT_DETAILS]
-"SP4b1" "D:\tp_sp_lameynardie\sp4b1\SP4b1" "D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.hwp" "M16C/80,M32C" "Renesas M32C Standard" "Application" "M32C/80" "M32C/87(M32C/87B)" 
+"SP4b1" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.hwp" "M16C/80,M32C" "Renesas M32C Standard" "Application" "M32C/80" "M32C/87(M32C/87B)" 
 [INFORMATION]
 "No project information available" 
 [TOOL_CHAIN]
 "Renesas M32C Standard Toolchain" "5.42.00" 
 [CONFIGURATIONS]
-"Debug" "D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug" 
-"Debug_M32C_E8a_SYSTEM" "D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug_M32C_E8a_SYSTEM" 
-"Debug_M32C_Simulator" "D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug_M32C_Simulator" 
-"Release" "D:\tp_sp_lameynardie\sp4b1\SP4b1\Release" 
+"Debug" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug" 
+"Debug_M32C_E8a_SYSTEM" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug_M32C_E8a_SYSTEM" 
+"Debug_M32C_Simulator" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug_M32C_Simulator" 
+"Release" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Release" 
 [BUILD_PHASES]
 "Renesas M32C Assembler" 1 
 "Renesas M32C C Compiler" 1 
@@ -105,8 +105,8 @@
 "Relocatable file" "Renesas M32C Linker" "Renesas M32C Assembler" 
 "Relocatable file" "Renesas M32C Linker" "Renesas M32C C Compiler" 
 [PROJECT_FILES]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" "User" "C source file" 2 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\ncrt0.a30" "User" "Assembly source file" 2 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" "User" "C source file" 2 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\ncrt0.a30" "User" "Assembly source file" 2 
 [FOLDER]
 "Assembly source file" "Assembly source file" 
 "C source file" "C source file" 
@@ -115,18 +115,18 @@
 [ON_DEMAND_COMPONENTS_LOADED]
 [SYNC_SESSION_NAMES]
 [SESSIONS]
-"DefaultSession" "D:\tp_sp_lameynardie\sp4b1\SP4b1\DefaultSession.hsf" 0 
-"SessionM32C_E8a_SYSTEM" "D:\tp_sp_lameynardie\sp4b1\SP4b1\SessionM32C_E8a_SYSTEM.hsf" 0 
-"SessionM32C_Simulator" "D:\tp_sp_lameynardie\sp4b1\SP4b1\SessionM32C_Simulator.hsf" 0 
+"DefaultSession" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\DefaultSession.hsf" 0 
+"SessionM32C_E8a_SYSTEM" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SessionM32C_E8a_SYSTEM.hsf" 0 
+"SessionM32C_Simulator" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SessionM32C_Simulator.hsf" 0 
 [GENERAL_DATA_SESSION_DefaultSession]
 [GENERAL_DATA_SESSION_SessionM32C_E8a_SYSTEM]
 [GENERAL_DATA_SESSION_SessionM32C_Simulator]
 [OPTIONS_Debug_Renesas M32C Assembler]
 "Assembly source file" "0c257c0838d47d10" 2 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
 [OPTIONS_Debug_Renesas M32C C Compiler]
 "C source file" "0c257c0838d47d10" 1 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
 [OPTIONS_Debug_Renesas M32C Configurator]
 "Single Shot" "0c257c0838d47d10" 6 
 [OPTIONS_Debug_Renesas M32C Librarian]
@@ -145,14 +145,14 @@
 "[V|VERSION|1] [S|OUTPUT|OBJECTCODE] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).r30^"] [B|INSPECTOR|1] [S|CPU|M32C80] " 1 
 [EXCLUDED_FILES_Debug]
 [LINKAGE_ORDER_Debug]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug\ncrt0.r30" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Debug]
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Assembler]
 "Assembly source file" "0c257c0838d47d10" 2 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C C Compiler]
 "C source file" "0c257c0838d47d10" 1 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Configurator]
 "Single Shot" "0c257c0838d47d10" 6 
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Librarian]
@@ -171,14 +171,14 @@
 "[V|VERSION|1] [S|OUTPUT|OBJECTCODE] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).r30^"] [B|INSPECTOR|1] [S|CPU|M32C80] " 1 
 [EXCLUDED_FILES_Debug_M32C_E8a_SYSTEM]
 [LINKAGE_ORDER_Debug_M32C_E8a_SYSTEM]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug_M32C_E8a_SYSTEM\ncrt0.r30" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug_M32C_E8a_SYSTEM\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Debug_M32C_E8a_SYSTEM]
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C Assembler]
 "Assembly source file" "0c257c0838d47d10" 2 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C C Compiler]
 "C source file" "0c257c0838d47d10" 1 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C Configurator]
 "Single Shot" "0c257c0838d47d10" 6 
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C Librarian]
@@ -197,14 +197,14 @@
 "[V|VERSION|1] [S|OUTPUT|OBJECTCODE] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).r30^"] [B|INSPECTOR|1] [S|CPU|M32C80] " 1 
 [EXCLUDED_FILES_Debug_M32C_Simulator]
 [LINKAGE_ORDER_Debug_M32C_Simulator]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\Debug_M32C_Simulator\ncrt0.r30" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Debug_M32C_Simulator\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Debug_M32C_Simulator]
 [OPTIONS_Release_Renesas M32C Assembler]
 "Assembly source file" "0c257c0838d47d10" 2 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\ncrt0.a30" "0c257c0838d47d10" 2 
 [OPTIONS_Release_Renesas M32C C Compiler]
 "C source file" "0c257c0838d47d10" 1 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" "0c257c0838d47d10" 1 
 [OPTIONS_Release_Renesas M32C Configurator]
 "Single Shot" "0c257c0838d47d10" 6 
 [OPTIONS_Release_Renesas M32C Librarian]
@@ -223,7 +223,7 @@
 "[V|VERSION|1] [S|OUTPUT|OBJECTCODE] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).r30^"] [B|INSPECTOR|1] [S|CPU|M32C80] " 1 
 [EXCLUDED_FILES_Release]
 [LINKAGE_ORDER_Release]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\Release\ncrt0.r30" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\Release\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Release]
 [GENERAL_DATA_CONFIGURATION_SESSION_Debug_DefaultSession]
 [SESSION_DATA_CONFIGURATION_SESSION_Debug_DefaultSession]
Index: branch/lameynardie/sp4b1/SP4b1/SessionM32C_E8a_SYSTEM.hsf
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/SessionM32C_E8a_SYSTEM.hsf	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/SessionM32C_E8a_SYSTEM.hsf	(revision 642)
@@ -47,7 +47,7 @@
 "{55384715-F881-421C-A548-D7D1ABE158E1}PDMRCtrlViews" "0" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_DENORMAL_MODE" "0" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_ROUND_MODE" "0" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "00000000000000FE" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "00000000000000F0" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "0000000000000000" 
@@ -55,9 +55,9 @@
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_13" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_14" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_15" "0000000000000400" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000FE0311" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000FE0469" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "0000000000FFFD00" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "00000000000006F2" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "00000000000006FC" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "0000000000000A00" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "0000000000000081" 
@@ -79,7 +79,7 @@
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_35" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_4" "0000000000FE0000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_5" "0000000000020000" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "00000000000006F4" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_7" "0000000000000400" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_8" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_9" "0000000000000000" 
@@ -110,7 +110,7 @@
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth12" "150" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth2" "120" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth3" "200" 
-"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "touche, 2, 0, P, Col, Hex, MA" 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "touche, 10, 0, P, Col, Hex, N" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000_SCOPE" "Current Scope," 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "1" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth0" "120" 
@@ -165,7 +165,7 @@
 0 
 [WINDOW_POSITION_STATE_DATA_VD1]
 "Help" "TOOLBAR 0" 59419 2 5 "0.00" 0 0 0 0 0 17 0 "" "0.0" 
-"{WK_00000001_CmdLine}" "WINDOW" 59422 0 2 "0.50" 180 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" 
+"{WK_00000001_CmdLine}" "WINDOW" 59422 0 2 "0.25" 180 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" 
 "{WK_00000001_OUTPUT}" "WINDOW" 59422 0 1 "0.50" 180 534 287 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" 
 "{WK_00000001_REGISTERS}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59421 0 0 "1.00" 180 1600 -279 350 200 2065 0 "" "0.0" 
 "{WK_00000001_WATCH}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.50" 180 0 0 350 200 18 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811|32831" "0.0" 
@@ -192,8 +192,8 @@
 [WINDOW_POSITION_STATE_DATA_VD3]
 [WINDOW_POSITION_STATE_DATA_VD4]
 [WINDOW_Z_ORDER]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" 
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\ncrt0.a30" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\ncrt0.a30" 
 [TARGET_NAME]
 "M32C E8a SYSTEM" "" 0 
 [STATUSBAR_STATEINFO_VD1]
@@ -240,6 +240,6 @@
 [FLASH_DETAILS]
 "" 0 0 "" 0 "" 0 0 "" 0 0 0 0 0 0 0 "" "" "" "" "" 
 [BREAKPOINTS]
-"d:\tp_sp_lameynardie\sp4b1\sp4b1\sp4b1.c" 17 16646884 1 "{00000000-0000-0000-C000-000000000046}" "" 
-"d:\tp_sp_lameynardie\sp4b1\sp4b1\sp4b1.c" 186 16647204 1 "{00000000-0000-0000-C000-000000000046}" "" 
+"d:\tp_sp_lameynardie\sp4b1\sp4b1\sp4b1.c" 17 135867284 1 "{00000000-0000-0000-C000-000000000046}" "" 
+"d:\tp_sp_lameynardie\sp4b1\sp4b1\sp4b1.c" 186 16647180 1 "{00000000-0000-0000-C000-000000000046}" "" 
 [END]
Index: branch/lameynardie/sp4b1/SP4b1/DefaultSession.hsf
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/DefaultSession.hsf	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/DefaultSession.hsf	(revision 642)
@@ -54,7 +54,7 @@
 [WINDOW_POSITION_STATE_DATA_VD3]
 [WINDOW_POSITION_STATE_DATA_VD4]
 [WINDOW_Z_ORDER]
-"D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.c" 
+"C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.c" 
 [TARGET_NAME]
 "" "" 1853190002 
 [STATUSBAR_STATEINFO_VD1]
Index: branch/lameynardie/sp4b1/SP4b1/SP4b1.c
===================================================================
--- branch/lameynardie/sp4b1/SP4b1/SP4b1.c	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1/SP4b1.c	(revision 642)
@@ -10,16 +10,20 @@
 /***********************************************************************/
 
 #include "sfr32c87.h"
+#define LCD_E p3_2
+#define LCD_RW p3_1
+#define LCD_DC p3_0
+#define LCD_PORT pd3
 
-void decode_touche(){
+char decode_touche(){
 	char touche;
 	char t;
-	pd10=0x0f;
-	pu31=1;
-	p10=0x00;
-	while(1){
-		t=p10;
-		if(t!=0xf0){
+//	pd10=0x0f;
+//	pu31=1;
+//	p10=0x00;
+//	while(1){
+//		t=p10;
+//		if(t!=0xf0){
 			//pmière ligne
 			p10=0xfe;
 			t=p10;
@@ -32,7 +36,6 @@
 			if(t==0x7e){
 				touche='3';
 			}
-			
 			//deuxième ligne
 			p10=0xfd;
 			t=p10;
@@ -78,8 +81,9 @@
 			if(t==0x77){
 				touche='#';
 			}
-		}
-	}
+//		}
+//	}
+	return(touche);
 }
 
 /*
@@ -113,11 +117,8 @@
 }
 */
 
-#define LCD_E p3_2
-#define LCD_RW p3_1
-#define LCD_DC p3_0
-#define LCD_PORT pd3
 
+
 void lcd_4b(char c){
 	
 	
@@ -179,9 +180,6 @@
  	ta0s = 0;
 }
 
-
-
-
 void lcd_init(void){
 	LCD_DC=0;
 	tpo_us(15000);
@@ -200,9 +198,20 @@
 	}
 
 void main(){
+	pd10=0x0f;
+	pu31=1;
+	p10=0x00;
+
 	LCD_PORT=0xFF;
 	lcd_init();
-	lcd_char('M');
-	decode_touche();	
-
+	
+		
+	while(1){
+		if(p10!=0xf0){
+			lcd_char(decode_touche());
+			while(p10!=0xf0){
+				p10=0x00;
+				}
+			}	
+	}
 }
\ No newline at end of file
Index: branch/lameynardie/sp4b1/SP4b1.hws
===================================================================
--- branch/lameynardie/sp4b1/SP4b1.hws	(revision 641)
+++ branch/lameynardie/sp4b1/SP4b1.hws	(revision 642)
@@ -3,12 +3,12 @@
 [DATABASE_VERSION]
 "11.0" 
 [WORKSPACE_DETAILS]
-"SP4b1" "D:\tp_sp_lameynardie\sp4b1" "D:\tp_sp_lameynardie\sp4b1\SP4b1.hws" "M16C/80,M32C" "Renesas M32C Standard" 
+"SP4b1" "C:\Users\malameynar\Documents\TP_SP4\sp4b1" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1.hws" "M16C/80,M32C" "Renesas M32C Standard" 
 [SHARED_WORKSPACE_CONTROL_STATUS]
 "" "" "" 
 "" "" "" 
 [PROJECTS]
-"SP4b1" "D:\tp_sp_lameynardie\sp4b1\SP4b1" "D:\tp_sp_lameynardie\sp4b1\SP4b1\SP4b1.hwp" 0 
+"SP4b1" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1" "C:\Users\malameynar\Documents\TP_SP4\sp4b1\SP4b1\SP4b1.hwp" 0 
 [INFORMATION]
 "No workspace information available" 
 [SCRAP]
Index: branch/lameynardie/sp4a12/main.c
===================================================================
--- branch/lameynardie/sp4a12/main.c	(revision 641)
+++ branch/lameynardie/sp4a12/main.c	(revision 642)
@@ -58,7 +58,7 @@
     }
     return (lon);
 }
-long lon_vf(char * ch){
+long lon_int(char * ch){
     long deg;
     long min;
     long lon=0;
@@ -84,17 +84,17 @@
     return (lat);
 }
 
-long lat_vf(char * ch){
+long lat_int(char * ch){
     long deg;
     long min;
     long lat=0;
     deg=decode_nombre(ch,2);
-    min=(decode_nombre(ch,9)-deg*1000000);
-    lon=deg*46603+min*777;
+    min=(decode_nombre(ch,8)-deg*1000000);
+    lat=deg*46603+min*777;
     if((ch[8]=='S')){
         lat=-lat;
     }
-    return (lon);
+    return (lat);
 }
 
 float lat_long(char* ch){
@@ -114,15 +114,18 @@
     }
 }
  test_lon_float(void){
-    char longi[]="003066036E";
+    char longi[]="180000000E";
     printf("longitude\n%f\n",lon_float(&longi));
+    printf("longitude\n%d\n",lon_int(&longi));
 }
  test_lat_float(void){
-    char lati[]="37232475S";
+    char lati[]="90000000S";
     printf("latitude\n%f\n",lat_float(&lati));
+    printf("latitude\n%d\n",lat_int(&lati));
 }
+//test_lon_int
 
-decode_trame(char *chi,char *lon,char *lat,int *ok){
+void decode_trame(char *chi,char *lon,char *lat,int *ok){
     char ref[]="GPGGA";
     int i=17;
     int j=0;
@@ -239,12 +242,12 @@
         printf ("Erreur Test unitaire trame_cmp.\n");
         exit(-1);
     }
-/*    test_decode_int();
-    test_decode_nombre();
+//    test_decode_int();
+//    test_decode_nombre();
     test_lon_float();
     test_lat_float();
-    test_lat_long();
-    test_decode_trame();*/
+ //   test_lat_long();
+ //   test_decode_trame();*/
 }
 
 void test_decode_int(void){
