Trying my hand at assembler but I am getting an error. Trying to toggle B3.
var test = E.asm("void()", "ldr r2,gpiob_addr", "movw r3,#4", "loopStart:", "str r3,[r2,#0]", "str r3,[r2,#4]", "bgt loopStart", "bx lr", "gpiob_addr:", ".word 0x40020418" );
Error is... Assembler failed: Invalid number "gpiob_addr" must be between 0 and 1024 and a multiple of 4
@cwilt started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Trying my hand at assembler but I am getting an error. Trying to toggle B3.
Error is...
Assembler failed: Invalid number "gpiob_addr" must be between 0 and 1024 and a multiple of 4