Re: assembly language

看板FB_questions作者時間11年前 (2014/07/15 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/9 (看更多)
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 <System Reset> <Start> <Start> 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Jn1hV9h (FB_questions)
文章代碼(AID): #1Jn1hV9h (FB_questions)