Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: olcott Newsgroups: comp.theory Subject: Re: DDD emulated by HHH --- (does not refer to prior posts) Date: Fri, 6 Sep 2024 06:20:52 -0500 Organization: A noiseless patient Spider Lines: 30 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 06 Sep 2024 13:20:53 +0200 (CEST) Injection-Info: dont-email.me; posting-host="be3ab62c57446c7ddf1fbbd69383ba43"; logging-data="850675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18V8QlcVIQBTT4FxIHtKV9x" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:R9H6Y4t6r0aK66XtSrxCskoLnTY= Content-Language: en-US In-Reply-To: Bytes: 2879 On 9/6/2024 5:22 AM, Mikko wrote: > On 2024-09-03 13:58:27 +0000, olcott said: >> >> _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] >> >> Anyone that is not dumber than a box of rocks can tell >> that machine address 0000217f is unreachable for every >> DDD emulated by HHH according to the semantics of the >> x86 language where HHH emulates itself emulating DDD. > > Anyone who really knows either x86 assembly or machine langage or > C can see that the machine address 217f is unreachachable only if > the program at 000015d2, named HHH, does not return. > That is not exactly true. There is a directly executed HHH that always returns and a DDD emulated by HHH that calls an emulated HHH that never returns. -- Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius hits a target no one else can see." Arthur Schopenhauer