⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 asfpga is an assembler written for use in FPGA design. It can be easily modified for your instructio
💻 TXT
字号:
Description:
============
asfpga is an assembler written for use in FPGA design. It can be easily modified for your instruction set. The ultimate goal of this software is to allow a FPGA designer to easily write assembly code for a custom instruction set.

The current version allows to create a listing file, a memory dump file which can be used in debugging HDL code using $readmemh() or equivalent routine, and a binary file which can be used to program a EPROM.

Changelog:
==========

Jan 21st:
Initial public release v 1.00e

ToDo:
=====

* Remove need for inserting ';' for blank line
* Add comments, and indent source code
 

Download:
========
asfpga_v1.00e.zip

Howto compile and use:

To compile:
===========
gcc -o asfpga main.c asfpga.c error.c

To use:

./asfpga inputfileName.asm

 * Comments should be preceded by a ';'.
 * All labels should be preceded by a '#'
 * Empty lines in the source code are not allowed => should (put ';' to indicate a carriage return)
 * Instructions such as 'LDI M, LED2', should have a space after comma
 * All characters *must* be upper case => turn CAPS on while coding :-)

Sample asm files:
=================

test1.asm

test2.asm

License:
========

Copyright (C) Hari Krishnan 2002-2003, hkrishna_at_bayou_dot_uh_dot_edu
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -