Date: Mon, 14 Jul 2014 12:53:05 -0500 From: Tim Daneliuk <tundra@tundraware.com> To: Jonesy <SPAM_TRAP_gmane@jonz.net>, freebsd-questions@freebsd.org Subject: Re: assembly language Message-ID: <53C41901.8040803@tundraware.com> In-Reply-To: <slrnls836k.1fht.SPAM_TRAP_gmane@vps.jonz.net> References: <CAH9SanVxs1oxXq1JHxE=dVMofDSt=k4nmeC5JQMSpip1vsTTCw@mail.gmail.com> <20140714174415.f6920110.freebsd@edvax.de> <slrnls836k.1fht.SPAM_TRAP_gmane@vps.jonz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/14/2014 12:00 PM, Jonesy via freebsd-questions wrote: > On Mon, 14 Jul 2014 17:44:15 +0200, Polytropon wrote: >> On Mon, 14 Jul 2014 04:20:05 +0100, Rapheal Elias wrote: >>> write and explain a simple program in assembly language >> >> Sure. >> >> IEFBR14 START ; start here with label >> USING IEFBR14,15 ; establish addressability >> B GO ; jump to label "GO" >> DC AL1(L'ID) ; declare program name length >> ID DC C'IEFBR14' ; declare program name content >> DS 0H ; force alignment >> GO SR 15,15 ; zero reg #15 >> BR 14 ; jump to address in reg #14 >> END IEFBR14 ; end of program >> >> Please note that this is the FreeBSD user questions list, >> not the the-dog-doesn't-do-my-homework list. The assembly >> language example fits to this list in the same way your >> request fits to this list. > > ahhhhhhhhhh.... Brings back memories of 1966. > >> Sorry, couldn't resist. ;-) > > heh... > The op didn't even bother to re-phrase the teacher's assigment. > Or say "Please" -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C41901.8040803>