Article View: pl.comp.lang.c
Article #309156Re: jak skompilowac "a = 2*f+(d-g/3)*(9-i)"
From: Przemek Biernat
Date: Mon, 24 Apr 2017 10:47
Date: Mon, 24 Apr 2017 10:47
22 lines
2094 bytes
2094 bytes
On Monday, February 13, 2017 at 8:48:44 PM UTC+1, (fir) wrote: > a f d g i mozna zalozyc ze sa to rejestry asemblera (np 32 bitowe floaty) potrzebuje po prostu kodu ktory przerabialby to co powyzej na odpowiedni kod w wirtualnym asemblerze, cos w stylu > > mov tmp1 2 > mov tmp2 f > mul tmp1 tmp2 > > mov tmp3 d > mov tmp4 g > mov tmp5 3 > div tmp4 tmp3 > sub tmp3 tmp4 > > itd > (jako ze sam projektuje swoj asembler mozna tu sobie ulatwiac (np moge sobie dodac tyle rejestrow ile chce (i zalozyc ze wejsciowe > wyrazenia beda sie skladac tylko z 26 rejestrow od a do z i ze stalych) > > jak to napisac/zrobic ? > > sensowne hinty a jeszcze lepiej pseudokod bylby mile widziany, tnx A może by tak odwrotną notację polską zaprządz do działania?
Technical Details
Message-ID:
<292724b0-83c9-4426-8469-28340a133524@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!c26no954291itd.0!news-out.google.com!v196ni2974ita.0!nntp.google.com!e132no1779639ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<6a6e4980-b3cc-41eb-8280-e080801f9db8@googlegroups.com>Show Full Headers
Complete Article Headers
X-Received: by 10.157.17.110 with SMTP id p43mr13323817otp.4.1493030839122; Mon, 24 Apr 2017 03:47:19 -0700 (PDT) X-Received: by 10.157.60.148 with SMTP id z20mr437056otc.3.1493030839077; Mon, 24 Apr 2017 03:47:19 -0700 (PDT) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!c26no954291itd.0!news-out.google.com!v196ni2974ita.0!nntp.google.com!e132no1779639ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.c Date: Mon, 24 Apr 2017 03:47:18 -0700 (PDT) In-Reply-To: <6a6e4980-b3cc-41eb-8280-e080801f9db8@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.178.193.213; posting-account=JqeG5AoAAAAiFyQBrqF1gF5A1eLVPTrJ NNTP-Posting-Host: 31.178.193.213 References: <6a6e4980-b3cc-41eb-8280-e080801f9db8@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <292724b0-83c9-4426-8469-28340a133524@googlegroups.com> Subject: Re: jak skompilowac "a = 2*f+(d-g/3)*(9-i)" From: Przemek Biernat <biernat.przemyslaw@gmail.com> Injection-Date: Mon, 24 Apr 2017 10:47:19 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit