Index: branch/BEN_MBAREK/sp4b1/SP4b1.tws
===================================================================
--- branch/BEN_MBAREK/sp4b1/SP4b1.tws	(revision 886)
+++ branch/BEN_MBAREK/sp4b1/SP4b1.tws	(revision 887)
@@ -9,7 +9,7 @@
 [OPEN_WORKSPACE_FILES]
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b1\SP4b1\SP4b1.c" 
 [WORKSPACE_FILE_STATES]
-"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b1\SP4b1\SP4b1.c" 0 0 1572 758 0 0 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b1\SP4b1\SP4b1.c" -8 -31 1852 657 1 0 
 [LOADED_PROJECTS]
 "SP4b1" 
 [END]
Index: branch/BEN_MBAREK/sp4b1/SP4b1/DefaultSession.hsf
===================================================================
--- branch/BEN_MBAREK/sp4b1/SP4b1/DefaultSession.hsf	(revision 886)
+++ branch/BEN_MBAREK/sp4b1/SP4b1/DefaultSession.hsf	(revision 887)
@@ -34,7 +34,7 @@
 0 
 [WINDOW_POSITION_STATE_DATA_VD1]
 "Help" "TOOLBAR 0" 59419 1 5 "0.00" 0 0 0 0 0 17 0 "" "0.0" 
-"{WK_00000001_CmdLine}" "WINDOW" 59422 0 1 "0.25" 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 1 "0.20" 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 0 "1.00" 180 683 371 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" 
 "{WK_00000002_WORKSPACE}" "WINDOW" 59420 0 0 "1.00" 180 683 371 350 200 18 0 "" "0.0" 
 "{WK_TB00000001_STANDARD}" "TOOLBAR 0" 59419 0 2 "0.00" 0 0 0 0 0 18 0 "" "0.0" 
@@ -54,9 +54,7 @@
 [WINDOW_POSITION_STATE_DATA_VD3]
 [WINDOW_POSITION_STATE_DATA_VD4]
 [WINDOW_Z_ORDER]
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b1\SP4b1\SP4b1.c" 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b1\SP4b1\ncrt0.a30" 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b1\SP4b1.hws" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b1\SP4b1\SP4b1.c" 
 [TARGET_NAME]
 "" "" 1853190002 
 [STATUSBAR_STATEINFO_VD1]
Index: branch/BEN_MBAREK/sp4b1/SP4b1/SP4b1.nav
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4b1/SP4b1/SP4b1.tps
===================================================================
--- branch/BEN_MBAREK/sp4b1/SP4b1/SP4b1.tps	(revision 886)
+++ branch/BEN_MBAREK/sp4b1/SP4b1/SP4b1.tps	(revision 887)
@@ -14,7 +14,7 @@
 [CURRENT_CONFIGURATION]
 "Debug" 
 [CURRENT_SESSION]
-"DefaultSession" 
+"SessionM32C_E8a_SYSTEM" 
 [GENERAL_DATA_PROJECT]
 [GENERAL_DATA_CONFIGURATION_Debug]
 "PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" 
Index: branch/BEN_MBAREK/sp4b2/SP4b2/Debug/Debug.hdp
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4b2/SP4b2/Debug/SP4b2.m32cc
===================================================================
--- branch/BEN_MBAREK/sp4b2/SP4b2/Debug/SP4b2.m32cc	(revision 886)
+++ branch/BEN_MBAREK/sp4b2/SP4b2/Debug/SP4b2.m32cc	(revision 887)
@@ -1,5 +1,5 @@
 -c
 -finfo
--dir "C:\Users\nibenmbare\Desktop\TP\sp4b2\SP4b2\Debug"
+-dir "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b2\SP4b2\Debug"
 -M82
-"C:\Users\nibenmbare\Desktop\TP\sp4b2\SP4b2\SP4b2.c"
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b2\SP4b2\SP4b2.c"
Index: branch/BEN_MBAREK/sp4b2/SP4b2/Debug/ncrt0.lst
===================================================================
--- branch/BEN_MBAREK/sp4b2/SP4b2/Debug/ncrt0.lst	(revision 886)
+++ branch/BEN_MBAREK/sp4b2/SP4b2/Debug/ncrt0.lst	(revision 887)
@@ -1,4 +1,4 @@
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri May 21 17:27:37 2021  PAGE 001
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 002
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 003
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 004
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 005
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 006
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 007
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 008
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 009
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 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     Fri May 21 17:27:37 2021  PAGE 010
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 08:31:51 2021  PAGE 010
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
Index: branch/BEN_MBAREK/sp4b2/SP4b2/Debug/SP4b2.m32cl
===================================================================
--- branch/BEN_MBAREK/sp4b2/SP4b2/Debug/SP4b2.m32cl	(revision 886)
+++ branch/BEN_MBAREK/sp4b2/SP4b2/Debug/SP4b2.m32cl	(revision 887)
@@ -1,7 +1,7 @@
 -L "nc382lib"
 -G
 -MS
--O "C:\Users\nibenmbare\Desktop\TP\sp4b2\SP4b2\Debug\SP4b2.x30"
+-O "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b2\SP4b2\Debug\SP4b2.x30"
 -M82
-"C:\Users\nibenmbare\Desktop\TP\sp4b2\SP4b2\Debug\ncrt0.r30"
-"C:\Users\nibenmbare\Desktop\TP\sp4b2\SP4b2\Debug\SP4b2.r30"
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b2\SP4b2\Debug\ncrt0.r30"
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b2\SP4b2\Debug\SP4b2.r30"
Index: branch/BEN_MBAREK/sp4b2/SP4b2/Debug/ncrt0.r30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.tps
===================================================================
--- branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.tps	(revision 886)
+++ branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.tps	(revision 887)
@@ -23,19 +23,19 @@
 "SessionM32C_E8a_SYSTEM" 
 "SessionM32C_Simulator" 
 [GENERAL_DATA_CONFIGURATION_Debug_M32C_E8a_SYSTEM]
-"PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" 
+"PROJECT_FILES_MODIFIED_DATA_TAG" "TRUE" 
 [SESSIONS_Debug_M32C_E8a_SYSTEM]
 "DefaultSession" 
 "SessionM32C_E8a_SYSTEM" 
 "SessionM32C_Simulator" 
 [GENERAL_DATA_CONFIGURATION_Debug_M32C_Simulator]
-"PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" 
+"PROJECT_FILES_MODIFIED_DATA_TAG" "TRUE" 
 [SESSIONS_Debug_M32C_Simulator]
 "DefaultSession" 
 "SessionM32C_E8a_SYSTEM" 
 "SessionM32C_Simulator" 
 [GENERAL_DATA_CONFIGURATION_Release]
-"PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" 
+"PROJECT_FILES_MODIFIED_DATA_TAG" "TRUE" 
 [SESSIONS_Release]
 "DefaultSession" 
 "SessionM32C_E8a_SYSTEM" 
Index: branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.c
===================================================================
--- branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.c	(revision 886)
+++ branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.c	(revision 887)
@@ -26,48 +26,49 @@
 
 
 	void lcd_4b(unsigned char c)
-	{
-		char c;
-		pd1 = 0xff;
-		p1_2 = 1;
-		c = 0b00100000;
+		{
+			
+			char c;
+			pd1 = 0xff;
+			p1_2 = 1;
+			c = 0b00100000;
 	
-		if (c & 0b10000000)
-			p1_7 = 1;
-		else 
-			p1_7 = 0;
+			if (c & 0b10000000)
+				p1_7 = 1;
+			else 
+				p1_7 = 0;
 		
-		if (c & 0b01000000)
+			if (c & 0b01000000)
 
-			p1_6 = 1;
-		else 
-			p1_6 = 0;
+				p1_6 = 1;
+			else 
+				p1_6 = 0;
 		
-		if (c & 0b00100000)
-			p1_5 = 1;
-		else 
-			p1_5 = 0;
-		if (c & 0b00010000)
-			p1_4 = 1;
-		else 
-			p1_4 = 0;
+			if (c & 0b00100000)
+				p1_5 = 1;
+			else 
+				p1_5 = 0;
+			if (c & 0b00010000)
+				p1_4 = 1;
+			else 
+				p1_4 = 0;
 		
 
 
-		p1_2 = 0;
-	}
+			p1_2 = 0;
+		}
 
 
-	void lcd_8b (unsigned char car)
-		{
-			lcd_4b(c);
-			lcd_4b(c<<4);
-		}
+		void lcd_8b (unsigned char car)
+			{
+				lcd_4b(c);
+				lcd_4b(c<<4);
+			}
 
-	void lcd_com(unsigned char com)
-		{
-			p1_0 = 0;
-			lcd_8b(com);
+		void lcd_com(unsigned char com)
+			{
+				p1_0 = 0;
+				lcd_8b(com);
 
-		}
-	}
\ No newline at end of file
+			}
+		}
\ No newline at end of file
Index: branch/BEN_MBAREK/sp4b2/SP4b2/SP4b2.nav
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4b3/SP4b3/SP4b3.hwp
===================================================================
--- branch/BEN_MBAREK/sp4b3/SP4b3/SP4b3.hwp	(revision 886)
+++ branch/BEN_MBAREK/sp4b3/SP4b3/SP4b3.hwp	(revision 887)
@@ -3,16 +3,16 @@
 [DATABASE_VERSION]
 "2.8" 
 [PROJECT_DETAILS]
-"SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.hwp" "M16C/80,M32C" "Renesas M32C Standard" "Application" "M32C/80" "M32C/87(M32C/87B)" 
+"SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.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" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Debug" 
-"Debug_M32C_E8a_SYSTEM" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Debug_M32C_E8a_SYSTEM" 
-"Debug_M32C_Simulator" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Debug_M32C_Simulator" 
-"Release" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Release" 
+"Debug" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Debug" 
+"Debug_M32C_E8a_SYSTEM" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Debug_M32C_E8a_SYSTEM" 
+"Debug_M32C_Simulator" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Debug_M32C_Simulator" 
+"Release" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\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]
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.c" "User" "C source file" 2 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\ncrt0.a30" "User" "Assembly source file" 2 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.c" "User" "C source file" 2 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\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" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\DefaultSession.hsf" 0 
-"SessionM32C_E8a_SYSTEM" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SessionM32C_E8a_SYSTEM.hsf" 0 
-"SessionM32C_Simulator" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SessionM32C_Simulator.hsf" 0 
+"DefaultSession" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\DefaultSession.hsf" 0 
+"SessionM32C_E8a_SYSTEM" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SessionM32C_E8a_SYSTEM.hsf" 0 
+"SessionM32C_Simulator" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\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" "0afac25391257d10" 2 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
 [OPTIONS_Debug_Renesas M32C C Compiler]
 "C source file" "0afac25391257d10" 1 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
 [OPTIONS_Debug_Renesas M32C Configurator]
 "Single Shot" "0afac25391257d10" 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]
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Debug\ncrt0.r30" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Debug\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Debug]
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Assembler]
 "Assembly source file" "0afac25391257d10" 2 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C C Compiler]
 "C source file" "0afac25391257d10" 1 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
 [OPTIONS_Debug_M32C_E8a_SYSTEM_Renesas M32C Configurator]
 "Single Shot" "0afac25391257d10" 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]
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Debug_M32C_E8a_SYSTEM\ncrt0.r30" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Debug_M32C_E8a_SYSTEM\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Debug_M32C_E8a_SYSTEM]
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C Assembler]
 "Assembly source file" "0afac25391257d10" 2 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C C Compiler]
 "C source file" "0afac25391257d10" 1 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
 [OPTIONS_Debug_M32C_Simulator_Renesas M32C Configurator]
 "Single Shot" "0afac25391257d10" 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]
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Debug_M32C_Simulator\ncrt0.r30" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Debug_M32C_Simulator\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Debug_M32C_Simulator]
 [OPTIONS_Release_Renesas M32C Assembler]
 "Assembly source file" "0afac25391257d10" 2 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\ncrt0.a30" "0afac25391257d10" 2 
 [OPTIONS_Release_Renesas M32C C Compiler]
 "C source file" "0afac25391257d10" 1 
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.c" "0afac25391257d10" 1 
 [OPTIONS_Release_Renesas M32C Configurator]
 "Single Shot" "0afac25391257d10" 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]
-"C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\Release\ncrt0.r30" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\Release\ncrt0.r30" 
 [GENERAL_DATA_CONFIGURATION_Release]
 [GENERAL_DATA_CONFIGURATION_SESSION_Debug_DefaultSession]
 [SESSION_DATA_CONFIGURATION_SESSION_Debug_DefaultSession]
Index: branch/BEN_MBAREK/sp4b3/SP4b3.hws
===================================================================
--- branch/BEN_MBAREK/sp4b3/SP4b3.hws	(revision 886)
+++ branch/BEN_MBAREK/sp4b3/SP4b3.hws	(revision 887)
@@ -3,12 +3,12 @@
 [DATABASE_VERSION]
 "11.0" 
 [WORKSPACE_DETAILS]
-"SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3.hws" "M16C/80,M32C" "Renesas M32C Standard" 
+"SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3.hws" "M16C/80,M32C" "Renesas M32C Standard" 
 [SHARED_WORKSPACE_CONTROL_STATUS]
 "" "" "" 
 "" "" "" 
 [PROJECTS]
-"SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4b3\sp4b3\SP4b3\SP4b3.hwp" 0 
+"SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3" "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4b3\SP4b3\SP4b3.hwp" 0 
 [INFORMATION]
 "No workspace information available" 
 [SCRAP]
@@ -21,7 +21,12 @@
 [MAKEFILE_BUILD_INFO]
 "$(WORKSPDIR)\make\$(PROJECTNAME)_$(CONFIGNAME).mak" "" "$(WORKSPDIR)\make" 0 0 0 
 [VD_CONFIGURATION_OPTIONS]
+"ACTIVE_DESKTOP" "0" 
 [VD_CONFIGURATIONS]
+"0" "Default1" "1" 
+"1" "Default2" "1" 
+"2" "Default3" "1" 
+"3" "Default4" "1" 
 [OPTIONS_DEBUG_TAB]
 0 0 0 0 0 
 [VCS]
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1.tws
===================================================================
--- branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1.tws	(revision 886)
+++ branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1.tws	(revision 887)
@@ -9,6 +9,8 @@
 [BREAKPOINTS]
 [OPEN_WORKSPACE_FILES]
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\ncrt0.a30" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\rectrame.c" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\rectrame.h" 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\sfr32c87.h" 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\SP4c1.c" 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\uart0.c" 
@@ -16,6 +18,8 @@
 [WORKSPACE_FILE_STATES]
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\SP4c1.c" 78 78 1602 523 0 2 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\ncrt0.a30" 104 104 1602 523 0 3 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\rectrame.c" 130 130 1602 523 0 5 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\rectrame.h" 156 156 1602 523 0 6 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\sfr32c87.h" 130 130 1602 523 0 4 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\uart0.c" -8 -31 1852 796 1 0 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\uart0.h" 52 52 1602 523 0 1 
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/Debug.hdp
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.sni
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.x30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.map
===================================================================
--- branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.map	(revision 886)
+++ branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.map	(revision 887)
@@ -5,13 +5,13 @@
 
 # LINK FILE INFORMATION
 ncrt0 (C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\Debug\ncrt0.r30)
-	Jun  4 12:01:02 2021
+	Jun  9 12:02:59 2021
 
 SP4c1 (C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\Debug\SP4c1.r30)
-	Jun  4 12:01:02 2021
+	Jun  9 12:02:58 2021
 
 uart0 (C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\Debug\uart0.r30)
-	Jun  4 12:01:02 2021
+	Jun  9 12:02:58 2021
 
 
 ##########################################
@@ -44,23 +44,24 @@
 data_MON3_E                      REL DATA    000400 000000 2     ncrt0
 data_MON4_E                      REL DATA    000400 000000 2     ncrt0
 bss_NE                           REL DATA    000400 000000 2     ncrt0
-bss_MON1_E                       REL DATA    000400 000000 2     ncrt0
-bss_MON2_E                       REL DATA    000400 000000 2     ncrt0
-bss_MON3_E                       REL DATA    000400 000000 2     ncrt0
-bss_MON4_E                       REL DATA    000400 000000 2     ncrt0
-data_NO                          REL DATA    000400 000000       ncrt0
-data_MON1_O                      REL DATA    000400 000000       ncrt0
-data_MON2_O                      REL DATA    000400 000000       ncrt0
-data_MON3_O                      REL DATA    000400 000000       ncrt0
-data_MON4_O                      REL DATA    000400 000000       ncrt0
-bss_NO                           REL DATA    000400 000000       ncrt0
-bss_MON1_O                       REL DATA    000400 000000       ncrt0
-bss_MON2_O                       REL DATA    000400 000000       ncrt0
-bss_MON3_O                       REL DATA    000400 000000       ncrt0
-bss_MON4_O                       REL DATA    000400 000000       ncrt0
-stack                            REL DATA    000400 000600 2     ncrt0
-rom_NE                           REL ROMDATA 000A00 000000 2     ncrt0
-rom_NO                           REL ROMDATA 000A00 000000       ncrt0
+                                 REL DATA    000400 000050 2     uart0
+bss_MON1_E                       REL DATA    000450 000000 2     ncrt0
+bss_MON2_E                       REL DATA    000450 000000 2     ncrt0
+bss_MON3_E                       REL DATA    000450 000000 2     ncrt0
+bss_MON4_E                       REL DATA    000450 000000 2     ncrt0
+data_NO                          REL DATA    000450 000000       ncrt0
+data_MON1_O                      REL DATA    000450 000000       ncrt0
+data_MON2_O                      REL DATA    000450 000000       ncrt0
+data_MON3_O                      REL DATA    000450 000000       ncrt0
+data_MON4_O                      REL DATA    000450 000000       ncrt0
+bss_NO                           REL DATA    000450 000000       ncrt0
+bss_MON1_O                       REL DATA    000450 000000       ncrt0
+bss_MON2_O                       REL DATA    000450 000000       ncrt0
+bss_MON3_O                       REL DATA    000450 000000       ncrt0
+bss_MON4_O                       REL DATA    000450 000000       ncrt0
+stack                            REL DATA    000450 000600 2     ncrt0
+rom_NE                           REL ROMDATA 000A50 000000 2     ncrt0
+rom_NO                           REL ROMDATA 000A50 000000       ncrt0
 data_FE                          ABS DATA    020000 000000       ncrt0
 bss_FE                           REL DATA    020000 000000 2     ncrt0
 data_FO                          REL DATA    020000 000000       ncrt0
@@ -92,22 +93,23 @@
 interrupt                        REL CODE    FE0000 000000 2     ncrt0
                                  REL CODE    FE0000 0002E2       ncrt0
 program                          REL CODE    FE02E2 000000 2     ncrt0
-                                 REL CODE    FE02E2 00006C 2     uart0
+                                 REL CODE    FE02E2 0000BE 2     uart0
 program_S                        ABS CODE    FF0000 000000       ncrt0
 vector                           ABS ROMDATA FFFD00 000100       ncrt0
 svector                          ABS ROMDATA FFFE00 000000       ncrt0
 fvector                          ABS ROMDATA FFFFDC 000024       ncrt0
 # Total -------------------------------------------------------------------
-                                     DATA          0000600(00001536) Byte(s)
+                                     DATA          0000650(00001616) Byte(s)
                                      ROMDATA       0000124(00000292) Byte(s)
-                                     CODE          000034E(00000846) Byte(s)
+                                     CODE          00003A0(00000928) Byte(s)
 
 ##########################################
 # (3) GLOBAL LABEL INFORMATION           #
 ##########################################
 $exit              fe02df  $uart0_tx          fe030c  _exit              fe02df
-_main              fe0326  _uart0_init        fe02e2  _uart0_rx          fe031c
-dummy_int          fe02e1  start              fe0000  
+_main              fe0326  _rectrame          fe037e  _trame             000400
+_uart0_init        fe02e2  _uart0_rx          fe031c  dummy_int          fe02e1
+start              fe0000  
 
 ##########################################
 # (4) GLOBAL EQU SYMBOL INFORMATION      #
@@ -194,41 +196,41 @@
 data_MON4_E
                                   00000400  00000400         0   2
 bss_NE
-                                  00000400  00000400         0   2
+                                  00000400  0000044f        50   2
 bss_MON1_E
-                                  00000400  00000400         0   2
+                                  00000450  00000450         0   2
 bss_MON2_E
-                                  00000400  00000400         0   2
+                                  00000450  00000450         0   2
 bss_MON3_E
-                                  00000400  00000400         0   2
+                                  00000450  00000450         0   2
 bss_MON4_E
-                                  00000400  00000400         0   2
+                                  00000450  00000450         0   2
 data_NO
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 data_MON1_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 data_MON2_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 data_MON3_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 data_MON4_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 bss_NO
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 bss_MON1_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 bss_MON2_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 bss_MON3_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 bss_MON4_O
-                                  00000400  00000400         0   1
+                                  00000450  00000450         0   1
 stack
-                                  00000400  000009ff       600   2
+                                  00000450  00000a4f       600   2
 rom_NE
-                                  00000a00  00000a00         0   2
+                                  00000a50  00000a50         0   2
 rom_NO
-                                  00000a00  00000a00         0   1
+                                  00000a50  00000a50         0   1
 data_FE
                                   00020000  00020000         0   1
 bss_FE
@@ -288,7 +290,7 @@
 interrupt
                                   00fe0000  00fe02e1       2e2   2
 program
-                                  00fe02e2  00fe034d        6c   2
+                                  00fe02e2  00fe039f        be   2
 program_S
                                   00ff0000  00ff0000         0   1
 vector
@@ -310,6 +312,12 @@
   __SB__
                                   00000400         0   none ,g         0
 
+SECTION=bss_NE
+FILE=uart0
+                                  00000400  0000044f        50
+  _trame
+                                  00000400        50   data ,g         0
+
 SECTION=interrupt
 FILE=ncrt0
                                   00fe0000  00fe02e1       2e2
@@ -322,7 +330,7 @@
 
 SECTION=program
 FILE=uart0
-                                  00fe02e2  00fe034d        6c
+                                  00fe02e2  00fe039f        be
   _uart0_init
                                   00fe02e2        29   func ,g         0
   $uart0_tx
@@ -329,4 +337,8 @@
                                   00fe030c        11   func ,g         0
   _uart0_rx
                                   00fe031c         9   func ,g         0
+  _main
+                                  00fe0326        59   func ,g         0
+  _rectrame
+                                  00fe037e        22   func ,g         0
 
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/ncrt0.lst
===================================================================
--- branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/ncrt0.lst	(revision 886)
+++ branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/ncrt0.lst	(revision 887)
@@ -1,4 +1,4 @@
-* M32C SERIES ASSEMBLER *  SOURCE LIST     Fri Jun 04 12:01:02 2021  PAGE 001
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 002
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 003
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 004
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 005
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 006
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 007
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 008
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 009
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 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     Fri Jun 04 12:01:02 2021  PAGE 010
+* M32C SERIES ASSEMBLER *  SOURCE LIST     Wed Jun 09 12:02:59 2021  PAGE 010
 
   SEQ.  LOC.    OBJ.                    0XMSDA  .*....*....SOURCE STATEMENT....8....*....9....*....0....*....1....*....2....*....3....*....4....*....5....*....6....*....7....*....8....*....9....*....0
 
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.mot
===================================================================
--- branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.mot	(revision 886)
+++ branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.mot	(revision 887)
@@ -1,16 +1,16 @@
 S0030000FC
-S224FE0000D52F000A00F6E20A00120400120A00D5AA8000D529000700D52A000400D1ECD522
+S224FE0000D52F500A00F6E20A00120400120A00D5AA8000D529500700D52A000400D1ECD582
 S224FE00202A000400D3ECD52800FDFF02B0F100040000996F0000B80302B0F100040000992D
-S224FE00406F0000B80302B0F100040000996F0000B80302B0F100040000996F0000B803029D
+S224FE00406F0000B80302B0F100040000996F5000B80302B0F150040000996F0000B80302FD
 S224FE0060B0F100040000996F0000B80302B0F100040000996F0000B80302B0F10004000004
 S224FE0080996F0000B80302B0F100040000996F0000B80302B0F100040000996F0000B803C6
 S224FE00A002B0F100040000996F0000B80302B0F100040000996F0000B80302B0F1000400C2
-S224FE00C000996F0000B80302B0F100040000996F0000B80302B0F100040000996F0000B889
-S224FE00E00302B0F100040000996F0000B80302B0F100040000996F0000B80302B0F100047F
-S224FE01000000996F0000B80302B0F100040000996F0000B80302B0F100040000996F000000
-S224FE0120B80302B0F100040000996F0000B803B0B10000FE00BD000400996F0000B083B08C
+S224FE00C000996F0000B80302B0F150040000996F0000B80302B0F150040000996F0000B8E9
+S224FE00E00302B0F150040000996F0000B80302B0F150040000996F0000B80302B0F150048F
+S224FE01000000996F0000B80302B0F150040000996F0000B80302B0F150040000996F000060
+S224FE0120B80302B0F150040000996F0000B803B0B10000FE00BD000400996F0000B083B03C
 S224FE0140B10000FE00B0F100040000996F0000B083B0B10000FE00B0F100040000996F0001
-S224FE016000B083B0B10000FE00B0F100040000996F0000B083B0B10000FE00B0F100040006
+S224FE016000B083B0B10000FE00B0F150040000996F0000B083B0B10000FE00B0F1000400B6
 S224FE018000996F0000B083B0B10000FE00B0F100040000996F0000B083B0B10000FE00B0D3
 S224FE01A0F100040000996F0000B083B0B10000FE00B0F100040000996F0000B083B0B1006C
 S224FE01C000FE00B0F100040000996F0000B083B0B10000FE00B0F100040000996F0000B082
@@ -17,16 +17,18 @@
 S224FE01E083B0B10000FE00B0F100040000996F0000B083B0B10000FE00B0F100040000999D
 S224FE02006F0000B083B0B10000FE00B0F100040000996F0000B083B0B10000FE00B0F100FA
 S224FE0220040000996F0000B083B0B10000FE00B0F100040000996F0000B083B0B10000FEDE
-S224FE024000B0F100040000996F0000B083B0B10000FE00B0F100040000996F0000B083B0CC
-S224FE0260B10000FE00B0F100040000996F0000B083B0B10000FE00B0F100040000996F00E0
-S224FE028000B083B0B10000FE00B0F100040000996F0000B08302B0F100000200996F00003C
+S224FE024000B0F100040000996F0000B083B0B10000FE00B0F150040000996F0000B083B07C
+S224FE0260B10000FE00B0F150040000996F0000B083B0B10000FE00B0F150040000996F0040
+S224FE028000B083B0B10000FE00B0F150040000996F0000B08302B0F100000200996F0000EC
 S224FE02A0B80302B0F100000200996F0000B803B0B10000FE00BD000002996F0000B083B00F
-S224FE02C0B10000FE00B0F100000200996F0000B083D529000700D52B000000CD2603FEBBDA
+S224FE02C0B10000FE00B0F100000200996F0000B083D529500700D52B000000CD2603FEBB8A
 S206FE02E0FF9E7C
 S224FE02E2F6E5680314690320146C0311F6E56D03D6F1C203D6F2C203D6FBC203D6F1B0030B
 S224FE0302D6F2B003D6FBB003DFDEEC0230FE0B6D03DAFC0196FBFE6A03FC1B6D03DAFC193C
-S224FE03226E03DFDEEC0434FE41CFB6FFF9A1DA1C33FC33FC77FC1A00BA100198BBFE99B8BB
-S210FE0342FCCFC8FFE3F1FCBBECBBE2FC0A
+S224FE03226E03DFDEEC0434FE41CFB6FF14E3030FF9A1DA4833FC33FC77FC1A00BA10019890
+S224FE0342BBFE99B8FCCFC4FFE3F1FCBBECCFCCFF30FF0198BBFFE9B1CFB1FFCFBEFF46245E
+S224FE036296CFE3030FCFB4FF462A96CFE303FFB65300040000CF060053BBB6FCEC028F586B
+S222FE038233FECF97FF7FFEC9DEC1B391B208C02BE3F1FE0976082A9AEA39FE8E1AFC14
 S224FFFD00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00D7
 S224FFFD20E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00B7
 S224FFFD40E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE00E102FE0097
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/ncrt0.r30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/SP4c1.r30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/Debug/uart0.r30
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/SessionM32C_E8a_SYSTEM.hsf
===================================================================
--- branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/SessionM32C_E8a_SYSTEM.hsf	(revision 886)
+++ branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/SessionM32C_E8a_SYSTEM.hsf	(revision 887)
@@ -52,8 +52,8 @@
 "{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" "000000000000004F" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000000000" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "000000000000000A" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000000040" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_12" "0000000000000000" 
@@ -60,10 +60,10 @@
 "{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" "0000000000FE0310" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000FE031C" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "0000000000FFFD00" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "00000000000006EA" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "0000000000000A00" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "000000000000072A" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "0000000000000A50" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "0000000000000084" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_21" "0000000000000000" 
@@ -82,9 +82,9 @@
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_33" "0000000000000000" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_34" "0000000000000000" 
 "{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_4" "0000000000000440" 
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_5" "0000000000020000" 
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "00000000000006EC" 
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "0000000000000738" 
 "{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" 
@@ -117,9 +117,13 @@
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth3" "200" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "b, 10, 0, P, Col, Hex, N" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000_SCOPE" "Current Scope," 
-"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001" "c, 2, 0, P, Col, Hex, MN" 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001" "c, 10, 0, P, Col, Hex, N" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001_SCOPE" "Current Scope," 
-"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "2" 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0002" "b, 10, 0, P, Col, Hex, N" 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0002_SCOPE" "Current Scope," 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0003" "trame, 6, 0, P, Col, Hex, MA" 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0003_SCOPE" "Global," 
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "4" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth0" "120" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth1" "150" 
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth12" "150" 
@@ -736,7 +740,7 @@
 "{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0Exp98" "0" 
 "{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0Exp99" "0" 
 "{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0ScrollHorz" "0" 
-"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0ScrollVert" "503" 
+"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0ScrollVert" "3" 
 "{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd1ColWidth0" "200" 
 "{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd1ColWidth1" "100" 
 "{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd1ColWidth2" "100" 
@@ -755,11 +759,11 @@
 0 
 [WINDOW_POSITION_STATE_DATA_VD1]
 "Help" "TOOLBAR 0" 59419 1 5 "0.00" 0 0 0 0 0 17 0 "" "0.0" 
-"{WK_00000001_CmdLine}" "WINDOW" 59422 0 4 "0.01" 180 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" 
-"{WK_00000001_IO}SP4c1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 3 "0.20" 180 0 0 350 200 18 0 "32817|32826|32819|32820|32821" "0.0" 
+"{WK_00000001_CmdLine}" "WINDOW" 59422 0 3 "0.01" 180 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" 
+"{WK_00000001_IO}SP4c1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 4 "0.20" 180 0 0 350 200 18 0 "32817|32826|32819|32820|32821" "0.0" 
 "{WK_00000001_LABEL}SP4c1SessionM32C_E8a_SYSTEM" "WINDOW" 59420 0 0 "0.50" 180 0 0 350 200 18 0 "32773|32774|32775|32776|32783" "0.0" 
-"{WK_00000001_LOCALS}SP4c1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.31" 180 0 0 350 200 18 0 "32772|32776|32777|32778|32779" "0.0" 
-"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 1 "0.24" 180 683 371 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" 
+"{WK_00000001_LOCALS}SP4c1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.28" 180 0 0 350 200 18 0 "32772|32776|32777|32778|32779" "0.0" 
+"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 1 "0.28" 180 683 371 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" 
 "{WK_00000001_WATCH}SP4c1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 2 "0.24" 180 0 0 350 200 18 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811|32831" "0.0" 
 "{WK_00000002_WORKSPACE}" "WINDOW" 59420 0 1 "0.50" 180 683 371 350 200 18 0 "" "0.0" 
 "{WK_TB00000001_STANDARD}" "TOOLBAR 0" 59419 0 2 "0.00" 0 0 0 0 0 18 0 "" "0.0" 
@@ -785,10 +789,12 @@
 [WINDOW_POSITION_STATE_DATA_VD4]
 [WINDOW_Z_ORDER]
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\uart0.c" 
-"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\SP4c1.c" 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\ncrt0.a30" 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\uart0.h" 
 "C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\sfr32c87.h" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\SP4c1.c" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\rectrame.c" 
+"C:\Users\nibenmbare\Desktop\TpSP4c1\sp4c12\SP4c1\SP4c1\rectrame.h" 
 [TARGET_NAME]
 "M32C E8a SYSTEM" "" 0 
 [STATUSBAR_STATEINFO_VD1]
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/uart0.c
===================================================================
--- branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/uart0.c	(revision 886)
+++ branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/uart0.c	(revision 887)
@@ -1,6 +1,6 @@
 #include "sfr32c87.h"
 
-
+char trame[80];
 void uart0_init (void) 
 	{
 		u0mr = 0x05;
@@ -32,9 +32,14 @@
 void main(void)
 {
 	
+	
 	char s = 'A';
+	char b;
+	char * buffer;
 
 	uart0_init();
+
+	pd1 = 0x0f;
 	while(1)
 	{
 		int i=0;
@@ -41,13 +46,50 @@
 		for (i=0;i<26;i++)
 		{
 	
-			uart0_tx(s+i);
+			uart0_tx(s+i); 		/*sert à envoyer sans interruption les caractères de 'A' à 'Z'*/
 			
-		}	
-	}
+			
+		}
+		
+	
+		b = uart0_rx() ;    
+			
+		uart0_tx(b+1); 	/*sert à attendre l'arrivée d'un caractère et d'envoyer le caractère suivant*/	
+		if (uart0_rx() == '$')
+			{
+				pd1 = 0x0f;
+			}
+		if (uart0_rx() =='*')   /*verification du fonctionnement de uart0_rx*/
+			{
+				pd1 = 0xff;
+			}
+		rectrame(trame);
+		
+			
+		}
+
+
+
+	
+	
 }
 
+int rectrame(char * Buffer) /*la fonction qui signale la bonne réception de la trame*/
+			{	
+				int i =0;
+				do
+				{
+					*(Buffer+i) = uart0_rx();
+					i = i+1;
+				}
+				while(*Buffer != '*');
+				return(i);
+			}
 
+
+
+
+
 			
 		
 		
Index: branch/BEN_MBAREK/sp4c12/SP4c1/SP4c1/SP4c1.nav
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
