Deutsch English Français Italiano |
<vegbdc$lk27$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: olcott <polcott333@gmail.com> Newsgroups: comp.lang.c Subject: Re: C function HHH correctly reports that DDD never terminates --- boiled down to two sentences Date: Sun, 13 Oct 2024 06:37:16 -0500 Organization: A noiseless patient Spider Lines: 47 Message-ID: <vegbdc$lk27$1@dont-email.me> References: <veco64$hk5$4@dont-email.me> <vef685$ci5v$1@dont-email.me> <vefk42$1r45$1@news.gegeweb.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 13 Oct 2024 13:37:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4dff4ea9256eef2f131620d81ba94869"; logging-data="708679"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hNyYzACSDKHh5mZuGUQVL" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:x1hgRtZ/xZLXW+pVIRoFQKSu8hk= In-Reply-To: <vefk42$1r45$1@news.gegeweb.eu> Content-Language: en-US Bytes: 2930 On 10/12/2024 11:59 PM, tTh wrote: > On 10/13/24 03:03, olcott wrote: > >> >> Fully operational code is here. >> https://github.com/plolcott/x86utm/blob/master/Halt7.c >> > > tth@redlady:~/Desktop$ gcc -Wall Halt7.c > Halt7.c: In function ‘Decide_Halting0’: > Halt7.c:239:32: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > PushBack(*execution_trace, (u32)*decoded, > sizeof(Decoded_Line_Of_Code)); > ^ > [...] > Halt7.c:847: Error: too many memory references for `mov' > Halt7.c:848: Error: too many memory references for `mov' > Halt7.c:928: Error: too many memory references for `lea' > Halt7.c:929: Error: too many memory references for `mov' > Halt7.c:930: Error: too many memory references for `lea' > Halt7.c:931: Error: too many memory references for `mov' > Halt7.c:932: Error: too many memory references for `mov' > Halt7.c:933: Error: too many memory references for `mov' > tth@redlady:~/Desktop$ > > OK boomer. > > Compiles with Microsoft Visual Studio Community Edition 2017 This file has all the details https://github.com/plolcott/x86utm/blob/master/__Run_7.bat Halt7.c is compiled and not linked with this line cl /GS- /FA /FaHalt7.asm /c /arch:IA32 Halt7.c The x86utm operating system is compiled and linked with this line cl.exe /EHsc x86utm.cpp api.c decode.c mem.c ops.c ops2.c prim_ops.c x86utm emulates the object code of Halt7.obj with this line: x86utm Halt7.obj > Halt7out.txt -- Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius hits a target no one else can see." Arthur Schopenhauer