Basic:
10 REM Hunt down and brutaly murder CPU cycles!
20 GOTO 10
Strictly speaking, an endless loop dosen't need to be in code. They're just rather diffucult to find in real life. (People don't tend, for instance, to drive around in a circle FOREVER.)