This page has some information on implementing computer languages on the extremely old and obsolete 6502 chips.
Here is a discussion on approaches to implementing languages on 6502 chips.
Here is some demo code for the first approach, creating overlapping memory locations for variables and parameter passing. (GPL).
If you want to go elsewhere to see related pages, feel free to look at other locations such as www.6502.org (general site on the 6502), CC65 (6502 C compiler), and the 6502 FIG Forth implementation. You can also find reference material on the web, such as the 6502 opcodes. Bob Sander-Cederlof's newsletter Apple Assembly Line was filled with useful information.
I've provided this information to world in memory of Bob Pew, an old friend who died in 1994. Bob, you're missed.
Feel free to See my home page.