Page 2 of 2

Re: Assembler language reference manual ...

Posted: Sat Oct 22, 2016 8:57 pm
by hydrabus
hydrabus wrote: 1) A way to Count Leading Zeros of a 32bits unsigned integer
Does such feature exist on ESP32 CPU ?
ESP_igrr wrote: Yes, using NSAU instruction. Compiler will generate it if you use GCC __builtin_clz() intrinsic.
Thanks for the hint and the fact it support asm instruction for that I will test it later to check it generate the right asm code...
hydrabus wrote: 2) In a near future write an IDA Pro Processor Module for ESP32 (as only ESP8266 is supported ...)
ESP_igrr wrote: I have extended the 8266 ida-python plugin with some of the ESP32 instructions (not added FP yet) and am using it personally in day-to-day debugging using ScratchABit disassembler. I can share what i have if you want to work on this.
Could you share your plugin ?
My email is bvernoux at hydrabus.com
hydrabus wrote: 4) A way to retrieve number of cycles executed (with accuracy of CPU clock so 240MHz) on 64bits if possible (but I can survive with 32bits), CPU cycle counter (like on ARM CM3... => DWTBase->CYCCNT) is perfect for that (even if timer can be also used ...)
ESP_igrr wrote: 32-bit CPU cycle counter can be queried by reading CCOUNT special register, or equivalently, using xthal_get_ccount function defined in Xtensa HAL.
Thanks for the hint I will check that

Re: Assembler language reference manual ...

Posted: Mon Oct 24, 2016 3:45 am
by ESP_igrr
hydrabus wrote: Could you share your plugin ?
My email is bvernoux at hydrabus.com
I've sent you an email.

Re: Assembler language reference manual ...

Posted: Mon Oct 24, 2016 9:08 pm
by hydrabus
ESP_igrr wrote:
hydrabus wrote: Could you share your plugin ?
My email is bvernoux at hydrabus.com
I've sent you an email.
Thanks for all I have replied to your Email

Re: [Answered] Assembler language reference manual ...

Posted: Fri Jan 12, 2018 4:58 am
by kolban
Has there been an update on the assembler language reference manual availability?

Re: [Answered] Assembler language reference manual ...

Posted: Sat Jan 26, 2019 10:37 am
by lesept
Hi
Any news about the availability of the assembler language reference manual for ESP32?

Re: [Answered] Assembler language reference manual ...

Posted: Mon Jan 28, 2019 2:59 am
by ESP_Sprite
Still no change in status, unfortunately...

Re: [Answered] Assembler language reference manual ...

Posted: Mon Mar 11, 2019 2:28 am
by osbox68
Dear all the modesty of the world I can tell you that I am a very capable programmer in C / C ++ and Python, I would like to program the Esp32 in assembly but I can not find anything that allows me to do this, I need a manual with the instructions and some assembler, I ask this because with all this privacy has become very common that you do not know what the APIs really do say they do one thing but maybe they do something else, that's why I would like to have full control of my libraries and be able to share them with the certainty that they do what they say and nothing else, good sirs if you can help me I will be grateful.
Atte.

osbox68