UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 24011

9.2i EDK - In assembly files, how do I use "include"?

Description

In SDK, the "#" symbol is used to denote a comment. How do I use "include" files? The following statement is treated as a comment:

#include <a405l.inc>

Solution

In Assembly files, SDK assumes that "#" is used to denote a comment. To specify "include" files, use ".include" as in the following example:

Instead of the following:

#include <a405l.inc>

Use:

.include <a405l.inc>

AR# 24011
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article