Liste des Groupes | Revenir à c theory |
On 5/27/24 11:43 AM, olcott wrote:*It is completely defined and you are just ignoring this definition*On 5/27/2024 9:58 AM, Richard Damon wrote:And how do you apply that to a TEMPLATE that doesn't define what a call H meansOn 5/27/24 10:39 AM, olcott wrote:>
typedef int (*ptr)(); // ptr is pointer to int function in C
00 int H(ptr p, ptr i);
01 int D(ptr p)
02 {
03 int Halt_Status = H(p, p);
04 if (Halt_Status)
05 HERE: goto HERE;
06 return Halt_Status;
07 }
08
09 int main()
10 {
11 H(D,D);
12 return 0;
13 }
>
The above template refers to an infinite set of H/D pairs where D is
correctly simulated by either pure simulator H or pure function H. This
was done because many reviewers used the shell game ploy to endlessly
switch which H/D pair was being referred to.
>
Correct Simulation Defined
This is provided because many reviewers had a different notion of
correct simulation that diverges from this notion.
>
A simulator is an x86 emulator that correctly emulates 1 to N of the
x86 instructions of D in the order specified by the x86 instructions
of D. This may include M recursive emulations of H emulating itself
emulating D.
Les messages affichés proviennent d'usenet.