Liste des Groupes | Revenir à theory |
On 7/3/2024 2:27 AM, Mikko wrote:And still ignore as you failed to answer.On 2024-07-02 12:20:54 +0000, olcott said:The part that you ignored.
On 7/2/2024 1:23 AM, Mikko wrote:What is the problem you are willing to discuss?On 2024-07-02 01:25:40 +0000, olcott said:This <is> the problem that I am willing to discuss.
typedef void (*ptr)();The "must" there is not quite correct. If the emulator does not abort
int HHH(ptr P);
void Infinite_Loop()
{
HERE: goto HERE;
}
void Infinite_Recursion()
{
Infinite_Recursion();
}
void DDD()
{
HHH(DDD);
}
int main()
{
HHH(Infinite_Loop);
HHH(Infinite_Recursion);
HHH(DDD);
}
Every C programmer that knows what an x86 emulator is knows
that when HHH emulates the machine language of Infinite_Loop,
Infinite_Recursion, and DDD that it must abort these emulations
so that itself can terminate normally.
then it will run forever or until the emulator is aborted by some
external agent. That is not a problem unless there is an additional
requirement, not specified above, that the emulator must terminate
normally.
Are you willing to do anything else about to that problem?
Les messages affichés proviennent d'usenet.