Celestial Coding

Archive => Archives => Assembly => Topic started by: Nathan on December 09, 2008, 06:07:39 pm

Title: [1] First Assembly Program
Post by: Nathan on December 09, 2008, 06:07:39 pm
(http://pastethis.net/?code=76&view=2) (http://pastethis.net/?code=76)

What this program does is outputs the (string) variable helloMsg by using an external function putstrng.

Output should be:
Code: [Select]
Hello, world!

To complie:
compile example0 io.lib
and example0.exe should appear in your current directory.

Edit: You should need io.lib for this.
Title: Re: [1] First Assembly Program
Post by: Celestialkey on December 09, 2008, 06:25:04 pm
A bit spaced, its hard to make out a lot f it because of the spacing.
Title: Re: [1] First Assembly Program
Post by: isaro on December 09, 2008, 06:32:33 pm
yea I'm having a bit of trouble reading it also.
Title: Re: [1] First Assembly Program
Post by: IonDuel on December 28, 2008, 08:18:20 pm
Im kinda stumped on how to compile ASM... I tried to learn it before, but didn't get anywhere.
Title: Re: [1] First Assembly Program
Post by: IonDuel on December 28, 2008, 08:19:35 pm
Nevermind... I just read the sticked post...
Title: Re: [1] First Assembly Program
Post by: Celestialkey on December 28, 2008, 08:52:14 pm
Haha, a little slow.