WinPicProg Forums Forum Index WinPicProg Forums
A forum to support WinPicProg
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASM structure

 
Post new topic   Reply to topic    WinPicProg Forums Forum Index -> Questions
View previous topic :: View next topic  
Author Message
mcnaugg



Joined: 08 Apr 2009
Posts: 2
Location: Pretoria,South Africa

PostPosted: Tue Jan 05, 2010 4:39 pm    Post subject: ASM structure Reply with quote

If I look at an .asm program via a text editor etc the written program layout is all neat and structured. It appears that the Tab key is used to keep all of the text in line, one above each other. Are there any rules for this layout i.e. the remarks or Rem statement as I know them must be x number of tabs in?

The reason I ask is that I cut and pasted a couple of files into MPASM and initially I was getting errors. Being a complete novice I couldn't make sense of the reasons. However when I tidied everything up into nice “vertical” columns it seemed to solve the problem. Hence the question.
Back to top
View user's profile Send private message
KC



Joined: 05 May 2006
Posts: 99
Location: Victoria BC Canada

PostPosted: Sun Jan 10, 2010 6:50 pm    Post subject: Reply with quote

It's probably a little late now, but usually the warning you get is something like this:
Warning[203] C:\MPLAB\16F684\16F684.ASM 75 : Found opcode in column 1. (movwf)
That doesn't cause the build to fail though. It is just a warning to help you reduce possible errors in your program.
Did you get an error or warning? ie: did it say:
BUILD SUCCEEDED

or

BUILD FAILED

At the end?
_________________
KC
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WinPicProg Forums Forum Index -> Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group