2014-05-26 21:04:19 +02:00
|
|
|
---
|
|
|
|
layout: news
|
|
|
|
author: Torsten
|
|
|
|
---
|
|
|
|
|
2017-04-07 13:57:12 +02:00
|
|
|
Part of the reason why i even thought this was possible was because i had bumped into Metasm.
|
2014-05-26 21:04:19 +02:00
|
|
|
|
|
|
|
Metasm creates native code in 100% ruby. Either from Assembler or even C (partially). And for many cpu's too.
|
2017-04-07 13:57:12 +02:00
|
|
|
It also creates many binary formats, elf among them.
|
2014-05-26 21:04:19 +02:00
|
|
|
|
|
|
|
Still, i wanted something small that i could understand easily as it was clear it would have to be changed to fit.
|
2017-04-07 13:57:12 +02:00
|
|
|
As there was no external assembler file format planned, the whole approach from parsing was inappropriate.
|
2014-05-26 21:04:19 +02:00
|
|
|
|
|
|
|
I luckily found a small library, as, that did arm only and was just a few files. After removing not needed parts
|
2017-04-07 13:57:12 +02:00
|
|
|
like parsing and some reformatting i added an assembler like dsl.
|
2014-05-26 21:04:19 +02:00
|
|
|
|
|
|
|
This layer (arm subdirectory) said hello after about 2 weeks of work.
|
|
|
|
|
|
|
|
I also got qemu to work and can thus develop without the actual pi.
|