Simon Ford / Mbed 2 deprecated IntToBinaryAssembly

Dependencies:   mbed

Revision:
2:56fbeac9ddc8
Parent:
1:eaf79a9d2939
diff -r eaf79a9d2939 -r 56fbeac9ddc8 main.cpp
--- a/main.cpp	Fri Jan 28 10:56:45 2011 +0000
+++ b/main.cpp	Fri Jan 28 11:00:58 2011 +0000
@@ -158,11 +158,11 @@
 
     START("PortOut");
     for(int i=0; i<LOOPS; i++) {
-         binc6(i & 0xF);
+         binc6(i % 0xF);
     }
     STOP();
 
-    START("PortOut lookup");
+    START("PortOut with mask loocup, but caller loop optimised");
     for(int i=0; i<LOOPS; i++) {
          binc7(i & 0xF);
     }