WinTim Example Program

 


Step 1: Download and Install WimTim
 

Step 2: Assemble the Example Program for the Simple Computer Design

An example using Wintim for the simple computer design is shown below. Up1def.src is the instruction definition file and Up1asm.src is the assembly language source file. To run the example, download the two example files and start WinTim. Open the two files, under Assemble, Meta assemble Up1def.src first to define the instruction formats. Then assemble Up1asm.src, the sample assembly language program. Then View the assembly listing and MIF file format. Note that the listing file shows the machine code to the left of the assembly language. Save the MIF file for use later in the Altera tools to initialize program memory for the new computer design.