Halt and catch fire: Difference between revisions

Content added Content deleted
(Added Algol 68)
(Moved the Algols to the right place.)
Line 9: Line 9:
# [https://en.wikipedia.org/wiki/Halt_and_Catch_Fire_(computing) Halt and Catch Fire]
# [https://en.wikipedia.org/wiki/Halt_and_Catch_Fire_(computing) Halt and Catch Fire]
<br><br>
<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}}==
=={{header|6502 Assembly}}==
Line 33: Line 25:
LEA CrashBandicoot,A0
LEA CrashBandicoot,A0
MOVE.W (A0),D0</lang>
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}}==
=={{header|REXX}}==