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.
Revision 5:3b9daee5f734, committed 2015-06-27
- Comitter:
- okano
- Date:
- Sat Jun 27 01:29:21 2015 +0000
- Parent:
- 4:b4c8aee2ecad
- Commit message:
- functions "power" and "drop" are added
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Jun 27 01:21:34 2015 +0000 +++ b/main.cpp Sat Jun 27 01:29:21 2015 +0000 @@ -37,6 +37,13 @@ stack_dump = 0; } break; + case 'p': + op2 = pop(); + push( pow( pop(), op2 ) ); + break; + case 'd': + pop(); + break; case '\n': break; case 0x0D: