Jump to content

Halt and catch fire: Difference between revisions

Moved the Algols to the right place.
(Added Algol 68)
(Moved the Algols to the right place.)
Line 9:
# [https://en.wikipedia.org/wiki/Halt_and_Catch_Fire_(computing) Halt and Catch Fire]
<br><br>
 
=={{header|ALGOL 68}}==
This program will crash immediately on startup.
<lang algol68>( print( ( 1 OVER 0 ) ) )</lang>
 
=={{header|ALGOL W}}==
This won't halt the CPU but the program will crash immediately on startup.
<lang algolw>assert false.</lang>
 
=={{header|6502 Assembly}}==
Line 33 ⟶ 25:
LEA CrashBandicoot,A0
MOVE.W (A0),D0</lang>
 
=={{header|ALGOL 68}}==
This program will crash immediately on startup.
<lang algol68>( print( ( 1 OVER 0 ) ) )</lang>
 
=={{header|ALGOL W}}==
This won't halt the CPU but the program will crash immediately on startup.
<lang algolw>assert false.</lang>
 
=={{header|REXX}}==
3,048

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.