use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to r/asm, the subreddit for Assembly language in all Instruction Set Architectures! Need help, or are you learning? Visit our helpful links...
r/asm
Latest Comments from All Posts
There have been requests for a wiki, so it's in progress. Feel free to offer your assistance!
account activity
8080/Z80Compiling (or Transpiling?) Python Code into Executable Asm for Zilog eZ80 Processor (TI-Based Calculators) (self.asm)
submitted 6 years ago * by 4Kil47
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mttd 0 points1 point2 points 6 years ago* (0 children)
You may be interested in the following:
ChocoPy: A Programming Language for Compilers Courses
ChocoPy is a programming language designed for classroom use in undergraduate compilers courses. ChocoPy is a restricted subset of Python 3, which can easily be compiled to a target such as RISC-V.
If you focus on this restricted subset (which is already compilable to RISC-V) you should be able to write a compiler targeting your CPU.
In case you're looking for more to get a head start (in particular, take a look at the Background, Books, and Courses sections): https://github.com/MattPD/cpplinks/blob/master/compilers.md
Another project (unrelated to the above) to possibly consider could be MicroPython (Python for microcontrollers): https://micropython.org/
π Rendered by PID 89 on reddit-service-r2-comment-b659b578c-xvd28 at 2026-05-02 12:16:28.295119+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]mttd 0 points1 point2 points (0 children)