Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: olcott Newsgroups: comp.theory Subject: Re: 197 page execution trace of DDD correctly simulated by HHH Date: Mon, 1 Jul 2024 09:31:44 -0500 Organization: A noiseless patient Spider Lines: 44 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 01 Jul 2024 16:31:44 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f83257e6e5a87f489aa8241c55498376"; logging-data="1185453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Y08CNlPp+cpdUDKZ8sflk" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:6S04qxYVKB7cql1PYsCDjF+THTk= In-Reply-To: Content-Language: en-US Bytes: 3789 On 7/1/2024 9:25 AM, Fred. Zwarts wrote: > Op 01.jul.2024 om 14:59 schreef olcott: >> On 7/1/2024 3:23 AM, Fred. Zwarts wrote: >>> Op 30.jun.2024 om 19:20 schreef olcott: >>>> >>>> _DDD() >>>> [00002172] 55               push ebp      ; housekeeping >>>> [00002173] 8bec             mov ebp,esp   ; housekeeping >>>> [00002175] 6872210000       push 00002172 ; push DDD >>>> [0000217a] e853f4ffff       call 000015d2 ; call HHH(DDD) >>>> [0000217f] 83c404           add esp,+04 >>>> [00002182] 5d               pop ebp >>>> [00002183] c3               ret >>>> Size in bytes:(0018) [00002183] >>>> >>> >>> It cannot possibly return, because HHH aborts itself one cycle too >>> early, showing that the emulation is incorrect. If that is over your >>> head, try to learn how x86 instructions work. >> >> _DDD() >> [00002172] 55               push ebp      ; housekeeping >> [00002173] 8bec             mov ebp,esp   ; housekeeping >> [00002175] 6872210000       push 00002172 ; push DDD >> [0000217a] e853f4ffff       call 000015d2 ; call HHH(DDD) >> [0000217f] 83c404           add esp,+04 >> [00002182] 5d               pop ebp >> [00002183] c3               ret >> Size in bytes:(0018) [00002183] >> >> DDD is correctly emulated by HHH which calls an >> emulated HHH(DDD) to repeat the process until aborted. >> >> > > ... aborted one cycle too soon. One cycle later HHH would return and DDD > would return. What you say is counter-factual. -- Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius hits a target no one else can see." Arthur Schopenhauer