rubyx/lib/asm
2014-04-25 11:56:53 +03:00
..
arm_assembler.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
assembly_error.rb finally cleaned up those pestey parse errors 2014-04-23 12:58:59 +03:00
call_instruction.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
instruction_tools.rb cleaned up BIG time, instruction hierachy, better names, DRYd up a lot 2014-04-23 23:40:35 +03:00
instruction.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
label.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
logic_instruction.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
memory_instruction.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +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 fix names and requires to get some elf out again (still crashes though) 2014-04-19 23:25:46 +03:00
stack_instruction.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
string_literal.rb removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00

Assembler in Ruby

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

Outputs Elf object files, with relocation support.

Constant table support exists but isn't very good. Some addressing modes are not supported or only partially supported.

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 Cyndis for starting this arm/elf project in the first place: https://github.com/cyndis/as