Showcase your customasm project here! #59
Replies: 7 comments 2 replies
-
This sounds like a great idea! Here's my project: I'm (obviously) using customasm for assembling my custom language (this is the ruledef file), but I've recently also integrated cpp for a more robust preprocessor, as was discussed here. This allows me to use And one more thing: if you're using Notepad++ to code in your custom language, I would recommend you also create your custom syntax highlighting and autocompletion. It's surprisingly easy and it makes coding much easier. Here's an example. Here are some example programs in my custom language. Thank you @hlorenzi for this amazing tool. I can't wait to see what you guys have done and get some ideas for my projects. |
Beta Was this translation helpful? Give feedback.
-
I have a youtube series: I am using Digital to build a CPU in a more graphical way that is hopefully more approachable than Verilog or VHDL. The ultimate goal is to build a CPU capable of running an OS like Xinu or Xv6. That's going to take a good long while though. Eventually I will put the CPU up on github under a MIT license. I might find time to do that soon, we will see. In the latest episode [016] A Proper Assembler! I cover customasm and plan to use it going forward. I must say, thank you very much @hlorenzi for this amazing program! It saves me tons of time as I build and iterate on the custom CPUs I like to build for fun. |
Beta Was this translation helpful? Give feedback.
-
I used customasm to program my 8 bitbreadboard computer. More info: Description of my build Thanks for making this assembler, awsome job and a bunch of work I assume |
Beta Was this translation helpful? Give feedback.
-
Started working on an assembler for Atari Jaguar's RISC CPUs (a GPU and a DSP): https://github.com/blipjoy/blipjag |
Beta Was this translation helpful? Give feedback.
-
I made a software implementation of a multibyte CPU, some sort of a Z80 on steroids! I used a previous version of customasm. It was quite easy to learn and I was able to make the complete instruction set. |
Beta Was this translation helpful? Give feedback.
-
I wrote a customasm definition for Little Computer 3 (LC-3): https://gist.github.com/ivan-pi/02df963d013637bab10f0c1306b9a0ea It came together in one afternoon thanks to how expressive customasm is. Kudos for writing such a great tool! The one thing I couldn't figure out was, how to make sure the relative-offset addressing is safe. The offsets are based on the current program counter:
|
Beta Was this translation helpful? Give feedback.
-
I've also used customasm in a CHIP-8 project: https://github.com/ivan-pi/FC8/blob/Xlib/asm/chip8.asm There are a few different conventions in use for the CHIP-8 instruction mnemonics. Mine follows Cowgod's Chip-8 Technical Reference page. In the future I'd also like to do SWEET 16. Ideally it would be done in a way that it can be inter-mixed with your existing |
Beta Was this translation helpful? Give feedback.
-
I think this new Discussions space would be perfect to showcase projects using
customasm
! I'm also really curious and it always brings me joy to see people using it and finding it useful! If you have a public project that you want to showcase, please reply here! I might compile a list later and feature it more prominently.Also, if you've created a definition file for a widely-known CPU and you'd like to include it as a standard
<std>
file incustomasm
, you can open a pull request for its inclusion! These<std>
files are always shipped with the app.Beta Was this translation helpful? Give feedback.
All reactions