Liste des Groupes | Revenir à c theory |
On 11/03/2025 17:01, olcott wrote:when HHH correctly emulates N steps of the aboveOn 3/11/2025 8:42 AM, Richard Heathfield wrote:Yeah, I got all that.On 11/03/2025 13:26, olcott wrote:int HHH(ptr P);On 3/11/2025 5:01 AM, Richard Heathfield wrote:>
<snip>
>And yet I can't even /see/ HHH, let alone judge what it does or does not do correctly. All I see is a call to it.>
>
It is stipulated that HHH correctly emulates N
steps of the x86 machine code of its input functions.
This may or may not include HHH emulating itself
emulating an input.typedef void (*ptr)();
>
void Infinite_Loop()
{
HERE: goto HERE;
return;
}
>
void Infinite_Recursion()
{
Infinite_Recursion();
return;
}
>
void DDD()
{
HHH(DDD);
return;
}
>
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
That when HHH correctly emulates N steps of theWe can't know that without seeing the code.
above functions that none of these functions can
possibly reach their own "return" instruction
and terminate normally.
Les messages affichés proviennent d'usenet.