1 comments

  • rtybanana20 days ago
    This is a little web app I developed a good while ago now to help people start learning ARMv7 assembly language and to understand how the computer hardware interprets and executes instructions of low level languages.<p>The tutorial section should have enough content to get people started. Only a minimal understanding of comp sci concepts are required, so whether you&#x27;re completely new to programming or are experienced with high level languages and want to understand more about what goes on lower down, this tool is for you! I hope you enjoy it or learn something from it. I certainly enjoyed making it.<p>Unfortunately, mobile is not supported since the simulator has a lot of moving parts which describe the state of the simulated computer hardware. I recommend a laptop or larger for the optimal experience :).
    • 20198420 days ago
      I played around with it, and it&#x27;s very neat. This is the first time I&#x27;ve seen an assembly REPL and I wish I had something like this that ran native for playing with unfamiliar instructions.<p>I did find a couple minor issues with the simulator: MVN is supposed to be a bitwise NOT but the simulator does a two&#x27;s-complement negation instead (<a href="https:&#x2F;&#x2F;github.com&#x2F;rtybanana&#x2F;irisc-web&#x2F;blob&#x2F;main&#x2F;src&#x2F;interpreter&#x2F;interpreter.ts#L115" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rtybanana&#x2F;irisc-web&#x2F;blob&#x2F;main&#x2F;src&#x2F;interpr...</a>), and it seems negative immediate offsets aren&#x27;t supported, e.g.<p><pre><code> ldr r0, [r1, #-4]</code></pre>
      • rtybanana20 days ago
        Thanks for the bug reports, if you like you can open some issues for those and I’ll look into them ASAP.<p>Interesting about the bitwise NOT, I’ll need to dig up the manual on this I must have missed that.
    • pjmlp19 days ago
      This is a great tool to learn ARM Assembly, and also to play around on downtime at work.<p>Congratulations on the work.