collapse collapse

* Who's Online

  • Dot Guests: 77
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Board Stats

  • stats Total Members: 88
  • stats Total Posts: 11163
  • stats Total Topics: 1699
  • stats Total Categories: 4
  • stats Total Boards: 76
  • stats Most Online: 248

Author Topic: [1] First Assembly Program  (Read 4284 times)

0 Members and 1 Guest are viewing this topic.

Offline Nathan

  • Administrator
  • Hero Member
  • *
  • Posts: 1437
  • Reputation 1768
  • Gender: Male
  • woof woof
    • View Profile
[1] First Assembly Program
« on: December 09, 2008, 06:07:39 pm »


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.
« Last Edit: December 28, 2008, 09:28:25 pm by adamsna »
Projects:
[ Axios Engine ] [ sourcehub ]
Compilers: Microsoft Visual Studio 2008, GNU C++, FASM, MASM, VB 6/.Net.
Languages: C++, PHP, ASM, JS, VB6/.Net, BASIC, HTML, MySQL
Please buy me some books: Amazon Wishlist

Offline Celestialkey

  • Administrator
  • Hero Member
  • *
  • Posts: 3962
  • Reputation 4874
  • Gender: Male
  • Its Alive!!
    • View Profile
    • www.CelestialCoding.com
Re: [1] First Assembly Program
« Reply #1 on: December 09, 2008, 06:25:04 pm »
A bit spaced, its hard to make out a lot f it because of the spacing.
Created By: Eczuo
Quote
I have noticed that people who claim that everything is predestined, and we can do nothing to change it, look both ways before they cross the road.
Quote
I'd prefer to die standing, than to live on my knees - Che Guevara
Quote
If you change the way you look at something, does that something change in any way?
- Quantum Theory

Hacking
Quote
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill


Quote from: Revelations 12:4
And his tail drew the third part of the stars of heaven, and did cast them into the earth; and the dragon stood before the woman which was ready to be delivered, for to devour her child as soon as it was born.

Quote
It takes skill to build an empire. It takes an idiot to maintain it.

Offline isaro

  • Software Developer
  • Administrator
  • Sr. Member
  • *
  • Posts: 393
  • Reputation 505
  • Gender: Male
    • View Profile
Re: [1] First Assembly Program
« Reply #2 on: December 09, 2008, 06:32:33 pm »
yea I'm having a bit of trouble reading it also.
0001 + 1000 = 1001

Offline IonDuel

  • - Secret Permissions Level 1 -
  • Sr. Member
  • ****
  • Posts: 306
  • Reputation 347
  • Gender: Male
  • At Your Service
    • View Profile
    • Ion Duel
Re: [1] First Assembly Program
« Reply #3 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.
Website: Here
IonDuel Engine status: Here
IonDuel Engine classes:
IColor, IDEngine, IFont, IImage, IMusic, IRect, ISound, ISoundManager, ISprite, ITimer.

Send me a message with any question you might have, and I will try to answer them to the best of my ability.

Offline IonDuel

  • - Secret Permissions Level 1 -
  • Sr. Member
  • ****
  • Posts: 306
  • Reputation 347
  • Gender: Male
  • At Your Service
    • View Profile
    • Ion Duel
Re: [1] First Assembly Program
« Reply #4 on: December 28, 2008, 08:19:35 pm »
Nevermind... I just read the sticked post...
Website: Here
IonDuel Engine status: Here
IonDuel Engine classes:
IColor, IDEngine, IFont, IImage, IMusic, IRect, ISound, ISoundManager, ISprite, ITimer.

Send me a message with any question you might have, and I will try to answer them to the best of my ability.

Offline Celestialkey

  • Administrator
  • Hero Member
  • *
  • Posts: 3962
  • Reputation 4874
  • Gender: Male
  • Its Alive!!
    • View Profile
    • www.CelestialCoding.com
Re: [1] First Assembly Program
« Reply #5 on: December 28, 2008, 08:52:14 pm »
Haha, a little slow.
Created By: Eczuo
Quote
I have noticed that people who claim that everything is predestined, and we can do nothing to change it, look both ways before they cross the road.
Quote
I'd prefer to die standing, than to live on my knees - Che Guevara
Quote
If you change the way you look at something, does that something change in any way?
- Quantum Theory

Hacking
Quote
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill


Quote from: Revelations 12:4
And his tail drew the third part of the stars of heaven, and did cast them into the earth; and the dragon stood before the woman which was ready to be delivered, for to devour her child as soon as it was born.

Quote
It takes skill to build an empire. It takes an idiot to maintain it.

 

Donate


* Search


* Recent Posts

Image Comparison by Shishka
[May 15, 2017, 01:18:02 pm]


Re: srchub - free source code hosting by Nathan
[December 14, 2015, 11:37:02 pm]


Re: srchub - free source code hosting by Celestialkey
[November 27, 2015, 08:51:42 am]


Updates by Nathan
[October 30, 2015, 08:27:36 pm]


Re: Client-Server Messaging by Nathan
[October 25, 2015, 05:48:57 pm]