Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

label not found

Status
Not open for further replies.

qwert12345

Programmer
Dec 17, 2002
1
US
I am getting errors when running tasm:
******
Label not found: (main)
Label value misalligned. (main)....
*******
Code:
*******
MAIN SEGMENT
ASSUME CS:MAIN,DS:MAIN,ES:MAIN,SS:MAIN

ORG 100h

START:
INT 20
MAIN ENDS
END START
******
 
code is a reserved word therefore your segment is being defined as 'code' at the point of 'code:'
"People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top