Sujet : Re: What exact sequence of the following machine addresses?
De : mikko.levanto (at) *nospam* iki.fi (Mikko)
Groupes : comp.theoryDate : 08. May 2025, 09:04:02
Autres entêtes
Organisation : -
Message-ID : <vvhohh$1kpuh$1@dont-email.me>
References : 1
User-Agent : Unison/2.2
On 2025-05-07 22:01:19 +0000, olcott said:
What exact sequence of the following machine addresses
of DD emulated by HHH causes DD to reach its own
final halt state at machine address [00002155]
[00002133] [00002134] [00002136] [00002137] [0000213c] [00002141] [00002144]
[00002147] [0000214b] [0000214f] [00002152] [00002154] [00002155]
(That HHH does not emulate all of this sequence is irrelevant: it causes
that anyway.)
When this sequence is required to conform to the
rules of the x86 language?
When any aspect of the execution or other semantics of those instructions
is discussed.
_DD()
[00002133] 55 push ebp ; housekeeping
[00002134] 8bec mov ebp,esp ; housekeeping
[00002136] 51 push ecx ; make space for local
[00002137] 6833210000 push 00002133 ; push DD
[0000213c] e882f4ffff call 000015c3 ; call HHH(DD)
[00002141] 83c404 add esp,+04
[00002144] 8945fc mov [ebp-04],eax
[00002147] 837dfc00 cmp dword [ebp-04],+00
[0000214b] 7402 jz 0000214f
[0000214d] ebfe jmp 0000214d
[0000214f] 8b45fc mov eax,[ebp-04]
[00002152] 8be5 mov esp,ebp
[00002154] 5d pop ebp
[00002155] c3 ret
Size in bytes:(0035) [00002155]
-- Mikko