rubyx/lib/asm
2014-04-27 15:19:48 +03:00
..
arm_machine.rb cleaned intruction initialization and fixed a test accidentally (was schoddy code) 2014-04-25 15:07:47 +03:00
assembly_error.rb finally cleaned up those pestey parse errors 2014-04-23 12:58:59 +03:00
block.rb block dsl facelift 2014-04-27 15:19:48 +03:00
call_instruction.rb better logic with new block class 2014-04-25 18:37:19 +03:00
code.rb adds code class as base for anything that can be assembled 2014-04-25 12:28:23 +03:00
instruction.rb better logic with new block class 2014-04-25 18:37:19 +03:00
logic_instruction.rb better logic with new block class 2014-04-25 18:37:19 +03:00
memory_instruction.rb better logic with new block class 2014-04-25 18:37:19 +03:00
nodes.rb cleaned up BIG time, instruction hierachy, better names, DRYd up a lot 2014-04-23 23:40:35 +03:00
program.rb block dsl facelift 2014-04-27 15:19:48 +03:00
README.markdown bit of renaming , cleaning and documentation 2014-04-25 13:29:12 +03:00
stack_instruction.rb better logic with new block class 2014-04-25 18:37:19 +03:00
string_literal.rb fix the tests with new block syntax 2014-04-25 21:08:19 +03:00

Assembler in Ruby

Supporting arm, but aimed quite specifically at raspberry pi, arm v7, floating point included (later)

Supported (pseudo)instructions:

  • adc, add, and, bic, eor, orr, rsb, rsc, sbc, sub, cmn, cmp, teq, tst, mov, mvn, strb, str, ldrb, ldr, push, pop, b, bl, bx, swi
  • Conditional versions of above

Thanks to Mikko for starting this arm/elf project in the first place: https://github.com/cyndis/as