assembly language
Mario Lobo
lobo at bsd.com.br
Mon Jul 14 16:25:54 UTC 2014
On Mon, 14 Jul 2014 17:44:15 +0200
Polytropon <freebsd at edvax.de> 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.
>
> Sorry, couldn't resist. ;-)
>
LOL :) !
--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)
"UNIX was not designed to stop you from doing stupid things,
because that would also stop you from doing clever things."
More information about the freebsd-questions
mailing list