Inline assembler #246
Replies: 1 comment
-
Posted at 2014-03-31 by @gfwilliams I've been considering it. I'm working on quite a big change that'll allow you to use references to built-in functions (solving one of the biggest issues Espruino has right now). With a small utility function you'll then be able to create a JS function that calls an arbitrary address. All that's left after that is to use the STM32F1Flash library to write your assember into flash, and then you can execute whatever you want. I'm still unconvinced by how many people will use it - I think the potential overlap of JS and ASM coders is quite small :) Anyway, that would solve a lot of problems. I'm not planning on making a JavaScript ARM assembler/disassembler though, so if anyone fancies that as a fun project, knock yourself out ;) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-03-31 by Loop
Hi there,
MicroPhyton does it.. would it be a nightmare to implement? sounds like a good idea for performance critical sections.
Beta Was this translation helpful? Give feedback.
All reactions