Talk:Halt and catch fire

From Rosetta Code
Revision as of 21:04, 12 September 2021 by Tigerofdarkness (talk | contribs) (How general is this tasl?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A bit limited ?

Is this task to be taken literally - halt the CPU - and thus only be applicable only to the handful of assembly languages with samples already provided ?
Or does it mean "crash the program" by e.g. dividingh 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)