Tom's Physics 123/223, ES-153 Page: RIDE and sample Programs

Nov. 18, 2015

Sample Programs

SiLabs Programs

Note that your "path" that tells the assembler/compiler where to find files, which is "$INCLUDE (C:\MICRO\8051\RAISON\INC\", for example, in one of our .a51 source files, may differ on a particular computer which has stored it elsewhere. We've tried to place these files in the same paths on the lab machines, but may have failed on a particular machine.
Sampleprograms (some of those used in the SiLabs micro labs)

Dallas Programs

Sampleprograms (some of those used in the 'Big Board' Dallas micro labs)

Raison 8051 assembler and simulator

Here is the excellent free program (free for code size under 8K) that I use to assemble and simulate code. Link to Raisonance site Here you need to register (as for Xilinx), then can download RIDE7, a sort of framework, along with RKIT-51, the tool for 8051 assembly, simulation and C compiling. RIDE is not huge on the scale of Xilinx ISE.

If you'd like to bypass the registration and loading of two programs, here is an older version of RIDE, one that I think will run satisfactorily. It's not the version I now use: kit51_747_.exe: zipped Raisonance assembler, compiler & simulator. (18.5M, expands to 50M)

References for Raisonance RIDE assembler/C-compiler/simulator

And here--long before you'll need it--is a file of vector names--an".INC" file that zealots will want to include in the INC directory oftheir Raisonance/Ride installation! (I realize I may be speaking to no one atall.) Here it is: a table of symbolic names for the80C320's vector addresses (for use with a program that relies oninterrupts). These vector addresses are the same for the DS89C420 and DS89C430, incidentally.

Link to RIDE documentation: detailed user's guide

I expect this is much more than you want; but here it is, anyway, for thezealot who wants the full story about the Raisonance assembler, compiler &simulator.
Part I
Part II

It's a zipped file (about 37M),and includes instructions.
When we ask you to do some coding, Ride will help a lot, though it is notessential (you can use the programmer's reference, in the posted set ofsources, to see the instruction set. You may not need even that: some preferjust steal code from the lab programs!). The file: ShortNote on how to use the RIDE Assembler & Simulator

Labs: Big Board
Lab micro1: Big Board (Dallas branch)
Lab micro2: Big Board (Dallas branch)
Lab micro 3: Big Board (Dallas branch)
Lab micro 4: Big Board : ADC (Dallas branch)
Labs: SiLabs
Lab C1: startup (SiLabs branch)
Lab C2: byte in, out (SiLabs branch)
Lab C3: timers (SiLabs branch)
Lab C4: ADC, DAC (SiLabs branch)