OpenCores
URL https://opencores.org/ocsvn/RISCMCU/RISCMCU/trunk

Subversion Repositories RISCMCU

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 26 to Rev 27
    Reverse comparison

Rev 26 → Rev 27

/trunk/asm/readme.txt
1,13 → 1,27
------------
AVR Assember
------------
-----
FILES
-----
 
readme.txt This file
simple_calculator.asm A simple calculator program which I use to test RISCMCU
memory_game.asm A simple memory game which I use to test RISCMCU
riscmcu.inc AVR Assembler include file for this RISCMCU
riscmcu.aio AVR Studio I/O View setting file for RISCMCU
counter.asm Simulation DEMO program for RISCMCU, which is
the program contains in program.mif in the vhdl directory
and the program the MCU run in the simulation waveform (simulation directory)
counter.lst List file for counter.asm
 
 
 
-----------------
AVR Assember 1.30
-----------------
 
Click on 'Options...' Menu
1. Select 'Generic Format' under the Output file format (MUST for HEX2MIF to work!)
2. Check the 'Save before assemble' box.
 
calc.asm Simple Calculator Source Code
memgame.asm Simple Memory Game Source Code
riscmcu.inc Include File for *.ASM (I/O register and bit definition for this design)
 
With an ASM file and the riscmcu.inc file, AVR Assembler generates
17,9 → 31,9
*.obj Object file : used by AVR Studio for simulation
 
 
----------
AVR Studio
----------
--------------
AVR Studio 3.0
--------------
 
Open the OBJ file, set
 
37,22 → 51,11
Then press
ALT-0 Registers View
ALT-4 New Memory View
ALT-5 New I/O View, choose riscmcu.aio**
ALT-5 New I/O View, choose riscmcu.aio
 
* The design only have 128 bytes of data RAM, but the simulator can not display the 128 locations when I put 128. 256 works, just ignored anything after the valid 128 byes.
** External interrupt can not be simulated because the design mapped the external interrupt pin to D7 but the simulator map it to pin D2 (according to AT90S1200).
 
 
-------
HEX2MIF
-------
 
calc.mif Simple Calculator MIF file
game.mif Simple Memory Game MIF file
 
Both generated from the hex file by HEX2MIF to 'program.mif', then I rename it to reflect its application
 
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.