Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 2:56fbeac9ddc8
- Parent:
- 1:eaf79a9d2939
--- 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);
}