]> git.sur5r.net Git - freertos/commitdiff
Remove unnecessary NOPs.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 13 Feb 2008 19:42:22 +0000 (19:42 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 13 Feb 2008 19:42:22 +0000 (19:42 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@187 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MB91460_Softune/SRC/main.c

index 25e1b7daaa615b37dbc0d7ac431e04c7c16248e7..4f2e2cd4f47f9d717fcd69d057fd1b1184309faa 100644 (file)
@@ -436,70 +436,56 @@ extern volatile unsigned portLONG ulCriticalNesting;
                        LDI #0x11111111, R13\r
                        CMP R13, R0\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x22222222, R13\r
                        CMP R13, R1\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x33333333, R13\r
                        CMP R13, R2\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x44444444, R13\r
                        CMP R13, R3\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x55555555, R13\r
                        CMP R13, R4\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x66666666, R13\r
                        CMP R13, R5\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x77777777, R13\r
                        CMP R13, R6\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x88888888, R13\r
                        CMP R13, R7\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x99999999, R13\r
                        CMP R13, R8\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xaaaaaaaa, R13\r
                        CMP R13, R9\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xbbbbbbbb, R13\r
                        CMP R13, R10\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xcccccccc, R13\r
                        CMP R13, R11\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xdddddddd, R13\r
                        CMP R13, R12\r
                        BNE First_Set_Error\r
-                       NOP\r
 \r
                        BRA First_Start_Next_Loop\r
-                       NOP\r
 \r
                First_Set_Error:\r
 \r
@@ -543,6 +529,7 @@ extern volatile unsigned portLONG ulCriticalNesting;
                        ;Load known values into each register.\r
                        LDI     #0x11111111, R1\r
                        LDI     #0x22222222, R2\r
+                       INT #40H\r
                        LDI     #0x33333333, R3\r
                        LDI #0x44444444, R4\r
                        LDI     #0x55555555, R5\r
@@ -550,6 +537,7 @@ extern volatile unsigned portLONG ulCriticalNesting;
                        LDI     #0x77777777, R7\r
                        LDI     #0x88888888, R8\r
                        LDI     #0x99999999, R9\r
+                       INT #40H\r
                        LDI     #0xaaaaaaaa, R10\r
                        LDI     #0xbbbbbbbb, R11\r
                        LDI     #0xcccccccc, R12\r
@@ -559,70 +547,60 @@ extern volatile unsigned portLONG ulCriticalNesting;
                        LDI #0x11111111, R13\r
                        CMP R13, R1\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x22222222, R13\r
                        CMP R13, R2\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x33333333, R13\r
                        CMP R13, R3\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x44444444, R13\r
                        CMP R13, R4\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x55555555, R13\r
                        CMP R13, R5\r
                        BNE Second_Set_Error\r
-                       NOP\r
+\r
+                       INT #40H\r
 \r
                        LDI #0x66666666, R13\r
                        CMP R13, R6\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x77777777, R13\r
                        CMP R13, R7\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x88888888, R13\r
                        CMP R13, R8\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0x99999999, R13\r
                        CMP R13, R9\r
                        BNE Second_Set_Error\r
-                       NOP\r
+\r
+                       INT #40H\r
 \r
                        LDI #0xaaaaaaaa, R13\r
                        CMP R13, R10\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xbbbbbbbb, R13\r
                        CMP R13, R11\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xcccccccc, R13\r
                        CMP R13, R12\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        LDI #0xdddddddd, R13\r
                        CMP R13, R0\r
                        BNE Second_Set_Error\r
-                       NOP\r
 \r
                        BRA Second_Start_Next_Loop\r
-                       NOP\r
 \r
                Second_Set_Error:\r
 \r