From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 17:53:30 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D21ED707 for ; Mon, 14 Jul 2014 17:53:30 +0000 (UTC) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ozzie.tundraware.com", Issuer "ozzie.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 97D3E2187 for ; Mon, 14 Jul 2014 17:53:30 +0000 (UTC) Received: from [10.219.131.118] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.9/8.14.9) with ESMTP id s6EHrACh090139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 14 Jul 2014 12:53:14 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <53C41901.8040803@tundraware.com> Date: Mon, 14 Jul 2014 12:53:05 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Jonesy , freebsd-questions@freebsd.org Subject: Re: assembly language References: <20140714174415.f6920110.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 14 Jul 2014 12:53:14 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: s6EHrACh090139 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 17:53:30 -0000 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/