Talk:Halt and catch fire: Difference between revisions

From Rosetta Code
Content added Content deleted
(added a comment.)
Line 4: Line 4:
Whilst reading about the fictitios HCF instruction was entertaining, do we want to encourage people to crash their CPUs ?<br><br>
Whilst reading about the fictitios HCF instruction was entertaining, do we want to encourage people to crash their CPUs ?<br><br>
--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 21:02, 12 September 2021 (UTC)
--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 21:02, 12 September 2021 (UTC)

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

Revision as of 21:09, 12 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)