Talk:Halt and catch fire: Difference between revisions

From Rosetta Code
Content added Content deleted
(added a comment.)
(Question about the REXX program)
Line 6: Line 6:


: I didn't see that the task was to   ''halt the CPU'',   but to   ''crash the (computer) program''.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:09, 12 September 2021 (UTC)
: I didn't see that the task was to   ''halt the CPU'',   but to   ''crash the (computer) program''.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:09, 12 September 2021 (UTC)

::Thanks Gerard. What does your impressively minimal REXX program do ? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 17:24, 15 September 2021 (UTC)

Revision as of 17:25, 15 September 2021

A bit limited ?

Is this task to be taken literally - halt the CPU - and thus only be applicable to the handful of assembly languages with samples already provided ?
Or does it mean "crash the program" by e.g. dividing by zero or asserting a false condition or raising an unhandled exception or calling exit or...

Whilst reading about the fictitios HCF instruction was entertaining, do we want to encourage people to crash their CPUs ?

--Tigerofdarkness (talk) 21:02, 12 September 2021 (UTC)

I didn't see that the task was to   halt the CPU,   but to   crash the (computer) program.     -- Gerard Schildberger (talk) 21:09, 12 September 2021 (UTC)
Thanks Gerard. What does your impressively minimal REXX program do ? --Tigerofdarkness (talk) 17:24, 15 September 2021 (UTC)