Home |  Directory |  Search |  GET LISTED! | Services | Advertise? | FAQ | Link to Us | Contact
Your country: United States

New ARM C Compiler Statements - Jokes


New ARM C Compiler Statements - Jokes
Structured languages have banned GOTOs and multiway conditional branches by replacing them with the simple IF-THEN-ELSE structure. The new C compiler for the ARM Cortex-M4 has the following new statements that satisfy the rules of structured programming and provide a more powerful programming environment:

Share: Share this on LinkedIn ReTweet This Share on Facebook
del.icio.us Yahoo! MyWeb Digg StumbleUpon reddit Furl Blinklist Spurl  

Share This Page!

Conditional Statements

WHAT IF
Used in simulation languages. Branches before evaluating the test condition.
OR ELSE
Conditional threat as in: "Add these two numbers OR ELSE"
WHY NOT
Executes the code that follows in a devil-may-care fashion
WHO ELSE
Used for polling during I/O operations
ELSEWHERE
This is where your program really is when you think it's here
GOING GOING GONE
For writing unstructured programs. Takes a random branch to another part of your program.
Does the work of a hundred GOTOs

Case Statements

JUST IN CASE
For handling afterthoughts and fudge factors.
Allows you to multiply by zero to correct for accidently dividing by zero
BRIEF CASE
To encourage portable software
OPEN AND SHUT CASE
No proof of correctness is necessary with this one
IN ANY CASE
This one always works
HOPELESS CASE
This one never works
BASKET CASE
A really HOPELESS CASE

Loop Statements

DON'T DO WHILE NOT
The loop is not executed if the test condition is not false (or it's Friday afternoon)
DIDN'T DO
The loop executes once and hides all traces
WON'T DO
The program stops because it doesn't like the code inside the loop.
Execution can be resumed by typing "MAY I" at the command line
MIGHT DO
Depends on how the program is feeling.
Executed if the CPU is "up", not executed if the CPU is "down" or if its feelings have been hurt
DO UNTO OTHERS
Used to write the main loop for operating systems to antagonize all programs in a uniform manner
DO WAH
Used to write loops for computer generated music (e.g. Rag Timing)

 

Created:17-Nov-2011,
· Views: 9941
Related Categories

Main Menu
Site Status Now
  • ·22 Online Now
  • ·1763 Total Online Since 9/23/2016 6:21:48 PM boot
  Partners

SFO Takumi - Motor Control ICs

SFO Takumi's Kyopal line of ULTRA-high accuracy Motor Control ICs simplify the design of motor control applications by providing high resolution, motion smoothness and system robustness.
 
Supports 2, 4, and 8 axes control for all stepping motors and pulse train input type servo motors. Get some...


Getting Listed

Submit Your Website to this Embedded Systems Directory
Drive traffic to your website. Benefit from exposure to our tens of thousands of monthly visitors, get extra traffic for your embedded systems related website, and increase your search-engine ranking with a link in our directory. Here's how:


Dependable Designs: Fast, Friendly, and of Course, Dependable!

Looking for a quick-turn Embedded Systems Design Engineering Service? Welcome to Dependable Designs.

Need a complex design for your startup company? Or something as simple as a college project? Outsource your Engineering services to friendly, experienced people. Click to learn more...


Resources

Mobile Web Made Easy


Recent Microcontroller.com visitors where location can be determined.

Home |  Directory |  Search |  GET LISTED! | Services | Advertise? | FAQ | Link to Us | Contact
-0-9/24/2016