rubyx/lib/asm
2014-05-03 18:56:56 +03:00
..
arm_machine.rb cleaned intruction initialization and fixed a test accidentally (was schoddy code) 2014-04-25 15:07:47 +03:00
assembler.rb renamed program to assembler (to avoid clashes in vm) 2014-05-02 08:14:38 +03:00
assembly_error.rb finally cleaned up those pestey parse errors 2014-04-23 12:58:59 +03:00
block.rb get the tests to work 2014-05-03 18:56:56 +03:00
call_instruction.rb better logic with new block class 2014-04-25 18:37:19 +03:00
code.rb get the tests to work 2014-05-03 18:56:56 +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
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 more semi random code, a checkpoint 2014-05-03 15:13:44 +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