Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-02-2004, 09:01 AM   PM User | #1
malform
New Coder

 
Join Date: Mar 2003
Location: Dallas,TX
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
malform is an unknown quantity at this point
masm,fasm assembly

I used to program my Commodore computer in 6502 assembly code.I now want to learn x86 assembly.I am reading and learning differences,as well as similarities to my programming techniques I came up with.

So comes the time to try to write my first simple programs.

I downloaded MASM and Fasm,two full functioning assembler compilers.

The compilers give me error messages when I try to compile or run their own example programs.Do I need something else on my system for these to function?

The two books I've been reading and these compilers all use different syntaxes.How do I get an assembler and a syntax to work together?I prefer the flat type over MASM which they say is like C++.
malform is offline   Reply With Quote
Old 02-04-2004, 05:29 AM   PM User | #2
malform
New Coder

 
Join Date: Mar 2003
Location: Dallas,TX
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
malform is an unknown quantity at this point
If you are just getting started with assembly programming,this link should give you enough info to start you on your way:

http://webster.cs.ucr.edu/WhichAsm.html

[This link has been edited and should work now]

Last edited by malform; 02-09-2004 at 02:08 AM..
malform is offline   Reply With Quote
Old 02-04-2004, 05:30 AM   PM User | #3
malform
New Coder

 
Join Date: Mar 2003
Location: Dallas,TX
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
malform is an unknown quantity at this point
thank you for your help.I wish there were more people like you.
malform is offline   Reply With Quote
Old 02-04-2004, 07:30 AM   PM User | #4
raf
Master Coder


 
Join Date: Jul 2002
Posts: 6,589
Thanks: 0
Thanked 0 Times in 0 Posts
raf will become famous soon enoughraf will become famous soon enough
Quote:
Originally posted by malform
thank you for your help.I wish there were more people like you.
Maybe we are just not into low level programming. Since these are "Web coding and development forums", you maybe just did not come to the right place for this question.
BTW; Your link is broken
Google didn't give you enough info to get started? http://www.google.be/search?hl=nl&ie...assembly&meta=
raf is offline   Reply With Quote
Old 02-08-2004, 03:58 AM   PM User | #5
malform
New Coder

 
Join Date: Mar 2003
Location: Dallas,TX
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
malform is an unknown quantity at this point
Still not there

The description of this category is "programming questions relating to assembly or c++".

I still haven't found good documentation for the syntax to use,but I might find some on Google,thank you.

I could get started if someone knew Tasm (or Masm)and could show me the syntax to change a file attribute.I wrote this but get nothing but error messages for every line:

segment
file db "C:/masm32/LOGOTEST.BMP$",0
ends
.code


start:
mov AX,file
mov DS,AX
mov AH,43
mov AL,1
ret
end start

Do I need to declare a stack? How does tasm (or Masm)do that?
malform is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:44 PM.


Advertisement
Log in to turn off these ads.