rubyx/lib/asm
2014-04-16 12:10:58 +03:00
..
arm move some unused parse related classes out of the way 2014-04-16 12:10:58 +03:00
assembler.rb adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
assembly_error.rb adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
ast_assembler.rb lift the nodes out of the parser 2014-04-16 12:03:39 +03:00
data_object.rb adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
label_object.rb adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
nodes.rb lift the nodes out of the parser 2014-04-16 12:03:39 +03:00
object_writer.rb adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
README.markdown adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
relocation.rb adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +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