From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 17:41:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AF87146 for ; Mon, 14 Jul 2014 17:41:18 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED0A72FED for ; Mon, 14 Jul 2014 17:41:17 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X6jca-0004DC-Bt for freebsd-questions@freebsd.org; Mon, 14 Jul 2014 19:01:00 +0200 Received: from vps.jonz.net ([216.17.42.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jul 2014 19:01:00 +0200 Received: from SPAM_TRAP_gmane by vps.jonz.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jul 2014 19:01:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Jonesy Subject: Re: assembly language Date: Mon, 14 Jul 2014 17:00:49 +0000 (UTC) Lines: 33 Message-ID: References: <20140714174415.f6920110.freebsd@edvax.de> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vps.jonz.net User-Agent: slrn/1.0.1 (FreeBSD) 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:41:18 -0000 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. Jonesy - First in 1966 -- Marvin L Jones | Jonesy | W3DHJ | linux 38.24N 104.55W | @ jonz.net | Jonesy | OS/2 * Killfiling google & XXXXbanter.com: jonz.net/ng.htm