What is assembler?
What is assembler?
I am wondering are the assembler instructions begun with @micropython.asm_thumb the actual platform specific instructions or are they some sort of generic instruction set working on the Micropython interpreter at a very low level. I would image that the assembler instruction set would be quite different for the BBC:microbit, Pi Pico and ESPXXXX.
Paul Mulvey
Re: What is assembler?
These are a pythonized version of the actual machine assembly instructions.
See: http://docs.micropython.org/en/latest/p ... mbler.html and http://docs.micropython.org/en/latest/r ... umb2-index
For the most part these map 1:1 with assembly instructions. movwt is a convenience that maps to 2 assembler instructions.
See: http://docs.micropython.org/en/latest/p ... mbler.html and http://docs.micropython.org/en/latest/r ... umb2-index
For the most part these map 1:1 with assembly instructions. movwt is a convenience that maps to 2 assembler instructions.