Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Richard Heathfield Newsgroups: comp.theory Subject: First, prove that DDD is correctly emulated by HHH Date: Sat, 10 May 2025 02:31:14 +0100 Organization: Fix this later Lines: 30 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 10 May 2025 03:31:14 +0200 (CEST) Injection-Info: dont-email.me; posting-host="43b083a872fadb3f2c7703b3081889c2"; logging-data="3294415"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WEAnzbTgdA3LVkQkLTWKaRrAqoV6SAmcUWEXc54VVvQ==" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:TFqIfrqoyC0tjXBsSr2p0Xcn42o= Content-Language: en-GB In-Reply-To: On 10/05/2025 02:26, olcott wrote: > void DDD() > { >   HHH(DDD); >   return; > } > > _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] > > Try to show how DDD emulated by HHH according to the > rules of the x86 language reaches its own "ret" > instruction final halt state. First, try to find a way to prove that DDD is correctly emulated by HHH. Proof by assertion will not do. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within