Error A2004:symbol type conflict_ assembly

Source: Internet
Author: User
about troubleshooting error A2004:symbol type conflict errors

Using Masmplus to write the first assembler, the program is simple:

; A show Hello world! program
DATAS SEGMENT
STRING DB ' Hello world! ', 13, 10, ' $ '
DATAS ENDS

Codes SEGMENT
Assume Cs:codes,ds:datas
START:
MOV Ax,datas
MOV Ds,ax
LEA dx,string
MOV ah,9
INT 21H

MOV ah,4ch
INT 21H
Codes ENDS
End START

Hint Error:
Error A2004:symbol type conflict
Warning A4023:with/coff switch, leading underscore required for start Address:start


This is not really a problem with the program, because it can be used on MASM for Windows, and of course not the problem of tools, so it can only be your own configuration problem, because it is in the Aogo assembly station under the MasmPlas1.2 version, so the following configuration:

Configure--> System Configuration--> compile/script--> selected: Separate files default to DOS mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.